Docs
Open console
Edits and enhancements

Extend

Widen the frame beyond the original image. $0.0594 per image.

v2 preview
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 as 16:9, 21:9, 4:5 or 1:1.
  • prompt, optional: what to fill the new space with.
  • One source: image (a link, base64, or the file itself as multipart), or job_id to 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-upCovers about
$10168 images
$25421 images
$50841 images
$1001,683 images