generateImage()
Create a new text-to-image generation task.text(string): Text prompt (1-8192 characters)callback(string, optional): Webhook URL for completion notification
job_id and status
varyImage()
Create variations of a generated image.job_id(string): Original image job IDimage_no(int): Image index (0-3)type(int): Variation type (0=Subtle, 1=Strong)remix_prompt(string, optional): Additional prompt for variationcallback(string, optional): Webhook URL for completion notification
upscaleImage()
Upscale a generated image to higher resolution.job_id(string): Original image job IDimage_no(int): Image index (0-3)type(int): Upscale type (0=Subtle, 1=Creative)callback(string, optional): Webhook URL for completion notification
rerollImage()
Regenerate with the same prompt.job_id(string): Original image job IDcallback(string, optional): Webhook URL for completion notification
blendImages()
Blend 2-5 images together.img_urls(array): Array of 2-5 image URLsaspect_ratio(string, optional): Output aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3)callback(string, optional): Webhook URL for completion notification
describeImage()
Generate text descriptions from an image.img_url(string): URL of the image to describecallback(string, optional): Webhook URL for completion notification
editImage()
Edit an image with text description.job_id(string): Original image job IDimage_no(int): Image index (0-3)canvas(string): Canvas area (full, object, background)img_pos(string): Image position (center, top, bottom, left, right)remix_prompt(string): Edit instructionscallback(string, optional): Webhook URL for completion notification
inpaintImage()
Fill masked regions in an image.job_id(string): Original image job IDimage_no(int): Image index (0-3)remix_prompt(string): Inpainting promptmask(array): Mask object with type (‘url’ or ‘coordinates’) and valuecallback(string, optional): Webhook URL for completion notification
outpaintImage()
Extend image boundaries.job_id(string): Original image job IDimage_no(int): Image index (0-3)scale(float): Expansion scale factor (1.1-3.0)remix_prompt(string, optional): Outpaint promptcallback(string, optional): Webhook URL for completion notification
panImage()
Create panoramic or panned views.job_id(string): Original image job IDimage_no(int): Image index (0-3)direction(int): Pan direction (0=Down, 1=Right, 2=Up, 3=Left)scale(float): Scale factor (1.1-3.0)remix_prompt(string, optional): Pan promptcallback(string, optional): Webhook URL for completion notification
remixImage()
Create variations using remix modes (strong or subtle modification).job_id(string): Original image job IDimage_no(int): Image index (0-3)mode(int): Remix mode (0=Strong, 1=Subtle)remix_prompt(string, optional): Remix instructionscallback(string, optional): Webhook URL for completion notification
shortenPrompt()
Optimize and simplify prompts.prompt(string): Long prompt to optimizecallback(string, optional): Webhook URL for completion notification
shortened_prompt