Extend
Widen the frame beyond the original image. $0.0594 per image.
- Price
- $0.0594
- per image
- Endpoint
- POST /v2/enhancements
- kind: outpaint
- Account
- After a top-up
- Otherwise 403 PLAN_REQUIRED
Run it
Send it to POST /v2/enhancements. It answers 202 with a job; poll GET /v2/jobs/{id} for the result. A job that fails is refunded.
curl -X POST https://api.mnml.ai/v2/enhancements \ -H "Authorization: Bearer $MNML_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "kind": "outpaint", "job_id": "10482", "aspect_ratio": "21:9" }'Fields
kind: "outpaint", required.aspect_ratio, required: the shape to extend to, such as16:9,21:9,4:5or1:1.prompt, optional: what to fill the new space with.- One source:
image(a link, base64, or the file itself as multipart), orjob_idto work on a finished job’s output without downloading it. webhook_url, optional: where to send this job’s settle event.
Price
$0.0594 per image, whichever engine made the image.
| Top-up | Covers about |
|---|---|
| $10 | 168 images |
| $25 | 421 images |
| $50 | 841 images |
| $100 | 1,683 images |
Related
- Enhance an image: every field of the call.
- Sending the image: a file, a link or base64, for a source or a mask.
- Pricing: the wallet and every price.