Recraft v3 API

Next-level in image generation: enhanced text generation, superior prompt understanding, accurate anatomical renderings, and stunning visual results

Get API Key

Model capabilities

Recraft v3 outperforms leading image generation platforms, surpassing both Midjourney and OpenAI standards

Long text generation
Long text generation

Exclusive ability to create images from full descriptions rather than just short phrases.

Realistic postures and anatomy
Realistic postures and anatomy

Advanced artificial intelligence system fine-tuned to produce images with anatomically correct proportions and details.

Precise to instructions
Precise to instructions

Demonstrates the alignment between your text instructions and the final image result.

OpenAI Icon logo
Visual sophistication

Visual appeal encompasses the overall artistic quality and aesthetic impact of generated images, considering factors like composition, color harmony, and artistic sophistication.

Visual sophistication

Explore Recraft v3

Vector Art

Specializes in vector generation: from clean pictograms to rich, detailed artwork.
Model Card Recraft-v3

Illustration example

Design-Focused AI

Tailored for graphic designers: generates a variety of image styles ranging from minimalist symbols to detailed illustrations.

Get API Key

API Endpoints

Generate Image by Prompt

Captures complex visual descriptions with perfect attention to object details, placement, and color accuracy

import requests
def main():
    response = requests.post(
        "https://api.aimlapi.com/v1/images/generations",
        headers={
            "Authorization": "Bearer <YOUR_API_KEY>",
            "Content-Type": "application/json",
        },
        json={
            "prompt": "A jellyfish in the ocean",
            "aspect_ratio": "16:9",
            "model": "recraft-v3",
            "image_size": "landscape_4_3",
            "style": "digital_illustration/pixel_art",
        },
    )
    response.raise_for_status()
    data = response.json()
    print("Generation:", data)
if __name__ == "__main__":
    main()
import requests
def main():
    response = requests.post(
        "https://api.aimlapi.com/v1/images/generations",
        headers={
            "Authorization": "Bearer <YOUR_API_KEY>",
            "Content-Type": "application/json",
        },
        json={
            "prompt": "A jellyfish in the ocean",
            "aspect_ratio": "16:9",
            "model": "recraft-v3",
            "image_size": "landscape_4_3",
            "style": "vector_illustration/engraving",
        },
    )

    response.raise_for_status()
    data = response.json()
    print("Generation:", data)
if __name__ == "__main__":
    main()

Generate Vector Images

Purpose-built for professional design with advanced vector output capabilities, delivering everything from minimal icons to complex scalable artwork

Get API Key