edit_image_pro_flash
Edit an image with the Pro Flash engine using a text instruction or reference art, preserving the original canvas size. Runs as a background job.
Instructions
Edit one image at a supported native size with the Pro Flash engine, using either a text instruction (method 'text') or a reference image (method 'reference'). The source canvas never grows or resizes, and reference art must fit inside it. Runs as a background job. Call get_pro_flash_capabilities for the exact native shapes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Recorded seed (default 0); the Pro Flash provider does not promise deterministic output | |
| image | Yes | Source image at a supported native size | |
| method | No | Edit driver (default 'text') | text |
| project_id | No | Optional project ID to file the result under | |
| description | No | Edit instruction (used with method 'text') | |
| no_background | No | Return on a transparent background (default false) | |
| reference_image | No | Reference art to apply (used with method 'reference'); must fit the source canvas | |
| use_color_palette_correction | No | Snap the result back to the source image's palette (default false) |