Reve API - Docs - Create

Create

Create images from a text description. To learn more about the pricing for this endpoint, visit the pricing page.

POST https://api.reve.com/v1/image/create

Playground

API Key

Prompt

Aspect Ratio

16:93:24:31:13:42:39:16 auto

Version

latest

latest

latest-fast

reve-create@20250915

Test Time Scaling

Postprocessing

Add Post-processor

Generate Image

Result

Request Headers

Default: application/json

Request Body

Default: 3:2

Default: latest

Postprocessing may add additional cost and processing time to the request in proportion to the size of the image (except for fit_image which is free). The best way to calculate exact cost is to send an example request and inspecting the credits_used field in the response.

Default: none

Default: 1

JSON Request

REVE_API_KEY=""

# Make the API request
curl -X POST https://api.reve.com/v1/image/create \
  -H "Authorization: Bearer $REVE_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A towering stack of golden fluffy pancakes drizzled with amber honey syrup, topped with fresh blackberries and sliced bananas, served on a white ceramic plate on a rustic wooden table with soft blue-gray background.",
    "aspect_ratio": "16:9",
    "version": "latest"
  }'

JSON Response Body (default)

For successful responses (200 status code)

For failure (non-200 HTTP status code)

Successful JSON Response (200)

// Status: 200
// Content-Type: application/json
// X-Reve-Content-Violation: false
// X-Reve-Request-Id: rsid-...

{
  "image": "...",
  "version": "reve-create@20250915",
  "content_violation": false,
  "request_id": "rsid-...",
  "credits_used": 18,
  "credits_remaining": 982
}

Image Response Body

For any response containing an X-Reve-Error-Code header, the response will be a small grey image in the format requested. Otherwise, successful responses (200 status code) with no content policy violations will return a base64 encoded image in the format requested.

Successful Image Response (200)

// Status: 200
// Content-Type: image/png (or image/jpeg, image/webp)
// Content-Length: ...
// X-Reve-Version: reve-create@20250915
// X-Reve-Content-Violation: false
// X-Reve-Request-Id: rsid-...
// X-Reve-Credits-Used: 18
// X-Reve-Credits-Remaining: 982

[Binary image data in the format requested]