GenerateImage()
Create a new text-to-image generation task.Text(string): Text prompt (1-8192 characters)Callback(string, optional): Webhook URL for completion notification
JobId and Status
VaryImage()
Create variations of a generated image.JobId(string): Original image job IDImageNo(int32): Image index (0-3)Type(int32): Variation type (0=Subtle, 1=Strong)RemixPrompt(string, optional): Additional prompt for variationCallback(string, optional): Webhook URL
RemixImage()
Transform an image with a new prompt.JobId(string): Original image job IDImageNo(int32): Image index (0-3)RemixPrompt(string): New prompt to apply to the imageMode(int32): Remix intensity (0=Strong, 1=Subtle)Callback(string, optional): Webhook URL
UpscaleImage()
Upscale a generated image to higher resolution.JobId(string): Original image job IDImageNo(int32): Image index (0-3)Type(int32): Upscale type (0=Subtle, 1=Creative)Callback(string, optional): Webhook URL
RerollImage()
Regenerate with the same prompt.JobId(string): Original image job IDCallback(string, optional): Webhook URL
BlendImages()
Blend 2-5 images together.ImgUrls([]string): Array of 2-5 image URLsAspectRatio(string, optional): Output aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3)Callback(string, optional): Webhook URL
DescribeImage()
Generate text descriptions from an image.ImgUrl(string): URL of the image to describeCallback(string, optional): Webhook URL
EditImage()
Edit an image with text description.JobId(string): Original image job IDImageNo(int32): Image index (0-3)Canvas(string): Canvas size (e.g., “1:1”)ImgPos(int32): Image positionRemixPrompt(string): Edit instructionsCallback(string, optional): Webhook URL
InpaintImage()
Fill masked regions in an image.JobId(string): Original image job IDImageNo(int32): Image index (0-3)RemixPrompt(string): Inpainting promptMask(string): Mask data or coordinatesCallback(string, optional): Webhook URL
OutpaintImage()
Extend image boundaries.JobId(string): Original image job IDImageNo(int32): Image index (0-3)Scale(float32): Scale factor (1.1-3.0)RemixPrompt(string, optional): Outpainting promptCallback(string, optional): Webhook URL
PanImage()
Create panoramic or panned views.JobId(string): Original image job IDImageNo(int32): Image index (0-3)Direction(int32): Pan direction (0=Down, 1=Right, 2=Up, 3=Left)Scale(float32): Scale factor (1.1-3.0)RemixPrompt(string, optional): Panning promptCallback(string, optional): Webhook URL
ShortenPrompt()
Optimize and simplify prompts.Prompt(string): Long prompt to optimize
ShortenedPrompt