
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI格式
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
Generate Image(生成图片)
POST
/recraft/v1/images/generations
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
prompt
string
required
n
integer | null
optional
style_id
string | null
optional
style
string | null
optional
Default:
realistic_image
substyle
string | null
optional
response_format
string | null
optional
Default:
url
Examples:
urlb64_json
size
string | null
optional
Default:
1024x1024
controls
object | null
optional
colors
string
required
Example:
An array of 3 integer values in range of 0...255 defining RGB Color Model
background_color
string
optional
Example
{
"prompt": "red point siamese cat",
"style": "realistic_image",
"size": "1280x1024"
}
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2024-10-31 16:05:45