import type * as ElevenLabs from "../index"; /** * Request body for the OpenAI GPT Image 2 model. */ export interface GptImage2Request { /** Include to send the generation's result to the workspace's configured flows webhooks once it completes or fails. The webhook payload matches the terminal response of the corresponding GET endpoint. */ webhook?: ElevenLabs.WebhookTarget; /** A text description of the image to generate. */ prompt: string; /** Up to 10 reference images to edit or draw from. */ images?: ElevenLabs.ImageReference[]; /** An image whose fully transparent areas mark where the first reference image may be edited; requires `images`. */ mask?: ElevenLabs.ImageReference; /** The quality of the output image. */ quality?: ElevenLabs.GptImage2RequestQuality; /** The aspect ratio of the output image. With `auto`, the model picks an aspect ratio based on the inputs. */ aspectRatio?: ElevenLabs.GptImage2RequestAspectRatio; /** The resolution of the output image. */ resolution?: ElevenLabs.GptImage2RequestResolution; }