Recraftv3 use Dall-e endpoint
Request
Body Params application/json
{
"model": "recraftv3",
"prompt": "A Cat",
"n": 1,
"style_id": null,
"style": "digital_illustration_hand_drawn",
"substyle": null,
"response_format": "url",
"size": "1024x1024",
"controls": null
}
Request Code Samples
curl --location --request POST '/v1/images/generations' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "recraftv3",
"prompt": "A Cat",
"n": 1,
"style_id": null,
"style": "digital_illustration_hand_drawn",
"substyle": null,
"response_format": "url",
"size": "1024x1024",
"controls": null
}'
Responses
application/json {
"created": 1750500129,
"data": [
{
"url": "https://s3.ffire.cc/cdn/20250621/Z5ux69LZr7TSsXuVJ2NUTB"
}
]
}
Modified at 2025-09-30 09:07:10