MiniMax 제공
MiniMax H3 Image editing with 1 to 16 reference images, billed per token: the input tokens (the prompt with MiniMax's prompt enhancement, and the reference images — about 2,050 per 1024x1024 image) and the output tokens the response reports, at the listed prompt and completion prices; reference images are billed at the prompt price. Synchronous multipart POST /v1/images/edits: one `image` part per reference image, or `image[]` parts as the OpenAI SDKs send a list (PNG, JPEG or WebP; the whole upload at most 24 MB); `n` up to 10; images come back as URLs (download them: they expire), or inline as base64; no streaming. Omitted, `size` and `area` give a 4K image; send `area` 1K or 2K, or a `size` of at least 655,360 pixels, for a smaller one.
$3.45
100만 토큰당
$5.7
100만 토큰당
curl "https://router-api.0g.ai/v1/images/edits" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-F model="minimax-h3-image-edit" \
-F prompt="Make the sky purple" \
-F image="@input.png"
# Response: {"data": [{"b64_json": "..."}], "x_0g_trace": {...}}
# Editing takes seconds to about a minute; the request stays open until the image is ready.