Tool to generate a new image from an initial image and text prompts. Use after you have a reference image and want to transform it via text guidance.
seedintegerOptional random seed for reproducible results
stepsintegerNumber of diffusion steps to run
widthinteger[DEPRECATED - DO NOT USE] Output dimensions are determined by init_image size. This parameter is ignored by the API.
heightinteger[DEPRECATED - DO NOT USE] Output dimensions are determined by init_image size. This parameter is ignored by the API.
samplesintegerHow many images to generate in one call
cfg_scalenumberGuidance scale (how strongly to follow the prompt, 0-35)
engine_idRequiredstringEngine identifier for generation, e.g. 'stable-diffusion-v1-5' Validate via DREAMSTUDIO_LIST_ENGINES before calling; unsupported values cause failures.
init_imageRequiredstringBinary content of the input image to guide generation
text_promptsRequiredarrayList of prompt objects each with text and optional weight
image_strengthnumberControls how much the original image is preserved (0-1). Required when init_image_mode='IMAGE_STRENGTH'.
init_image_modeRequiredstringGuidance mode for how the init_image influences the result. 'IMAGE_STRENGTH' uses image_strength, 'STEP_SCHEDULE' uses step_schedule_start/end.
step_schedule_endnumberOptional end fraction for image influence in the schedule (0-1). Defaults to 1.0 if omitted.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.