AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Image generationMiniMax H3 Image

Edit an image

Upload reference images and edit them using a prompt.

POST/v1/images/edits

Upload reference images and edit them using a prompt.

Authorization

bearerAuth
AuthorizationBearer <token>

Use a platform API key in the format Authorization: Bearer your-api-key.

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

JSON image references

FieldJSON representation
images[].image_url

Response Body

application/json

application/json

application/json

application/json

application/json

Streaming response events

These fields describe the JSON in one data: event, not the complete SSE text stream.

Set the client timeout to at least 600 seconds. Generation may continue after a timeout or disconnection; sending again creates a new request.

MiniMax image editing APISee request parameters and response structure.