generate image
Generate an image from a prompt (text-to-image), from a source image (image-to-image, edit_points and mask_ref for local changes), or from several inputs (ingredients-to-image), on the account’s default model or a named one. Settings are validated against list_models and set the price. Returns a job; get_jobs returns the item when it is ready. Refunded if nothing is made. Credits.
Authorizations
Headers
Body
Change specific spots and keep the rest, on models with supports_edit_points; the first source_ref is the media. Points are fractions from inspect_media with grid: true (frame mode for video). The prompt may be empty or describe the whole edit. On an image reference_refs follow the source and a marked copy (none on GPT Image 2.6). Aspect ratio and duration are kept.
1 - 8 elements
