Reve AI Image Generation API

Overview

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.

Key Features

  • Multiple AI models (reve-1.0, reve-1.5)
  • Flexible image aspect ratios
  • Smart prompt optimization
  • Fast generation speed
  • Simple REST API
  • Comprehensive documentation

Quick Start

Request Example

Parameter Details

Header Parameters

ParameterTypeRequiredDescription
Content-TypestringYesFixed value: application/json
AuthorizationstringYesFormat: Bearer YOUR_API_KEY

Request Body Parameters

ParameterTypeRequiredDescription
image_requestobjectYesImage generation request object
image_request.aspect_ratiostringYesImage aspect ratio, see supported values below
image_request.magic_prompt_optionstringYesPrompt optimization option: AUTO, ON, OFF
image_request.modelstringYesModel version: reve-1.0, reve-1.5
image_request.promptstringYesText describing the image you want to generate

Supported Aspect Ratios

Ratio CodeDescription
ASPECT_10_1610:16 ratio (portrait)
ASPECT_16_1016:10 ratio (landscape)
ASPECT_9_169:16 ratio (portrait)
ASPECT_16_916:9 ratio (landscape)
ASPECT_3_23:2 ratio (landscape)
ASPECT_2_32:3 ratio (portrait)
ASPECT_4_34:3 ratio (landscape)
ASPECT_3_43:4 ratio (portrait)
ASPECT_1_11:1 ratio (square)
ASPECT_1_31:3 ratio (portrait)
ASPECT_3_13:1 ratio (landscape)

Response Example

Use Cases

Advanced Prompt Tips

For best results, consider these prompt-writing tips:

  1. Be Specific: Describe key elements, scenes, atmosphere, colors, etc.
  2. Provide Context: Explaining the purpose or style can help the AI better understand your needs
  3. Use magic_prompt_option: Set to AUTO for automatic prompt optimization

Prompt Example