cURL
curl --request POST \ --url https://api.ai-stats.phaseo.app/v1/images/edits \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'model=<string>' \ --form 'image=<string>' \ --form 'prompt=<string>' \ --form 'mask=<string>' \ --form 'size=<string>' \ --form n=5 \ --form 'user=<string>' \ --form meta=true \ --form usage=true
{ "created": 123, "data": [ { "url": "<string>", "b64_json": "<string>", "revised_prompt": "<string>" } ] }
Apply edits to an existing image using the specified model and prompt.
Bearer token authentication
1 <= x <= 10
Image edit response
Show child attributes
Was this page helpful?