# Edit an image using a text prompt Sends text and images to for processing/editing. Endpoint: POST /edit-image Version: 1.0.0 Security: ApiKeyAuth ## Request fields (application/json): - `text` (string, required) The prompt text Example: "Describe this image" - `images` (array) List of images to process - `image_mimeType` (string) Default MIME type for images if not specified per image - `response_modalities` (array) Desired response modalities - `temperature` (number) Controls the randomness of the output - `top_p` (number) Nucleus sampling parameter - `top_k` (integer) Top-k sampling parameter - `max_output_tokens` (integer) Maximum number of tokens to generate - `system_instruction` (string) System instructions for the model ## Response 200 fields (application/json): - `ok` (boolean) Example: true - `base64_images` (array) - `base64_images.mime_type` (string) - `base64_images.data` (string) ## Response 400 fields (application/json): - `ok` (boolean) - `error` (string) Example: "Error message description" ## Response 401 fields (application/json): - `ok` (boolean) - `error` (string) Example: "Error message description" ## Response 500 fields (application/json): - `ok` (boolean) - `error` (string) Example: "Error message description" ## Response 502 fields (application/json): - `ok` (boolean) - `error` (string) Example: "Error message description" ## Response 503 fields (application/json): - `ok` (boolean) - `error` (string) Example: "Error message description"