Skip to content

Recraft - Crisp Upscale ​

Endpoint ​

POST /images/generations

Full URL: https://modelfold.ai/v1/images/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe model name to use for generation. Required field.
- Must be recraft/crisp-upscale for this endpoint Default:"recraft/crisp-upscale"。 Allowed values:recraft/crisp-upscale。 Example:recraft/crisp-upscale。
imagestringYesImage to upscale (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/1757169577325ijj8vwvt.jpg。
promptstringYesPrompt required by the ModelFold gateway; at most 2000 characters. maxLength: 2000.

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/images/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft/crisp-upscale",
  "image": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757169577325ijj8vwvt.jpg",
  "prompt": "A paper boat drifting down a rainy street."
}'
json
{
  "model": "recraft/crisp-upscale",
  "image": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757169577325ijj8vwvt.jpg",
  "prompt": "A paper boat drifting down a rainy street."
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.png"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.