Recraft V3 (codenamed red_panda) is a text-to-image model capable of generating long texts and images in various styles. As of now, it is at the SOTA level in the field of image generation, as demonstrated by the text-to-image benchmark tests from Artificial Analysis.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"3:4","enable_base64_output":false,"prompt":"Ultra-realistic portrait of a young woman with windswept hair, wearing a leather jacket, golden hour lighting, 85mm lens, cinematic color grading, visible skin texture and pores","style":"realistic_image"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/ws/api/v3/recraft-ai/recraft-v3' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "3:4",
"enable_base64_output": false,
"prompt": "Ultra-realistic portrait of a young woman with windswept hair, wearing a leather jacket, golden hour lighting, 85mm lens, cinematic color grading, visible skin texture and pores",
"style": "realistic_image"
}'