Images
Create an image edit or extension
Changed onCreates an edited or extended image given an original image and a prompt using the OpenAI-compatible Images API. The request is sent as multipart/form-data with the image file as a binary upload.
Not every provider implements the Images API. Requests routed to a provider that does not support it return 400 Bad Request with an explanatory error message; use /chat/completions for those providers.
post/images/edits
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/images/edits
- AuthHTTP bearer
Query parameters
provider'ollama' | 'ollama_cloud' | 'groq' | 'llamacpp' | 'openai' | 'cloudflare' | 'cohere' | 'anthropic' | 'deepseek' | 'elevenlabs' | 'google' | 'mistral' | 'minimax' | 'moonshot' | 'nvidia' | 'zai' | 'webwright'
Specific provider to use (default determined by model)
Request body multipart/form-data
Response
Successful response
Changes
- info
added the new enum value
webwrightto thequeryrequest parameterprovider
- info
- breaking
removed the enum value
webwrightfrom thequeryrequest parameterprovider
- breaking