Recraft V3 SVG is a text-to-image model capable of generating long text and images in various styles. As of now, it is at the SOTA level in the field of image generation, as confirmed by the text-to-image benchmark from Artificial Analysis.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"1:1","enable_base64_output":false,"prompt":"Renaissance-style portrait of a noblewoman with an intricate lace dress, soft oil painting texture, chiaroscuro lighting, 1600s style background"}
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": "1:1",
"enable_base64_output": false,
"prompt": "Renaissance-style portrait of a noblewoman with an intricate lace dress, soft oil painting texture, chiaroscuro lighting, 1600s style background"
}'