Reve AI Image Generation API enables you to create high-quality images from text descriptions. Built with cutting-edge AI technology, our API provides a simple yet powerful way to generate stunning visuals for your creative projects.
| Parameter | Type | Required | Description |
|---|---|---|---|
| Content-Type | string | Yes | Fixed value: application/json |
| Authorization | string | Yes | Format: Bearer YOUR_API_KEY |
| Parameter | Type | Required | Description |
|---|---|---|---|
| image_request | object | Yes | Image generation request object |
| image_request.aspect_ratio | string | Yes | Image aspect ratio, see supported values below |
| image_request.magic_prompt_option | string | Yes | Prompt optimization option: AUTO, ON, OFF |
| image_request.model | string | Yes | Model version: reve-1.0, reve-1.5 |
| image_request.prompt | string | Yes | Text describing the image you want to generate |
| Ratio Code | Description |
|---|---|
| ASPECT_10_16 | 10:16 ratio (portrait) |
| ASPECT_16_10 | 16:10 ratio (landscape) |
| ASPECT_9_16 | 9:16 ratio (portrait) |
| ASPECT_16_9 | 16:9 ratio (landscape) |
| ASPECT_3_2 | 3:2 ratio (landscape) |
| ASPECT_2_3 | 2:3 ratio (portrait) |
| ASPECT_4_3 | 4:3 ratio (landscape) |
| ASPECT_3_4 | 3:4 ratio (portrait) |
| ASPECT_1_1 | 1:1 ratio (square) |
| ASPECT_1_3 | 1:3 ratio (portrait) |
| ASPECT_3_1 | 3:1 ratio (landscape) |
For best results, consider these prompt-writing tips:
AUTO for automatic prompt optimization