
🇨🇳 Chinese

🇨🇳 Chinese
- 系统内部接口
- OpenAI
- Anthropic
- Suno(音乐)
- 场景一:续写音乐并获取完整音乐
- 场景二:Cover 音乐:音乐翻版\修改风格
- 场景三:Replace Section:替换片段
- 场景四:Persona:歌手风格
- 场景五:stems:声曲分离(仅限chirp_auk)
- 场景六:Timing:歌词、音频时间线(仅限chirp_auk)
- 场景七:wav:获取 wav 格式文件
- 场景八:mp4:生成 mp4 mv 视频(仅限chirp_auk)
- 生成音乐POST
- 上传音乐POST
- 歌曲拼接POST
- 新建 PersonaPOST
- 声曲分离GET
- Timing:歌词、音频时间线GET
- 获取 wav 格式文件GET
- 生成 mp4 mv 视频GET
- 生成歌词POST
- 查询单个任务GET
- 批量查询任务POST
- 批量查询歌曲GET
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
OpenAI Dalle3格式-生成图片
POST
/v1/images/generations
Last modified:2024-11-01 14:10:50
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
model
string
required
Default:
recraftv3
prompt
string
required
size
string
required
steps
integer
required
prompt_upsampling
boolean
required
seed
integer
required
guidance
number
required
safety_tolerance
integer
required
interval
integer
required
Example
{
"model": "recraftv3",
"prompt": "red point siamese cat",
"style": "realistic_image",
"size": "1280x1024"
}
Request 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 -g --request POST '/v1/images/generations' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "recraftv3",
"prompt": "red point siamese cat",
"style": "realistic_image",
"size": "1280x1024"
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{
"created": 1730462979,
"data": [
{
"url": "https://img.recraft.ai/0Lwh4PzrspHLgxaUrM1Alzklfd-E1hp86oxfXUkJlqs/rs:fit:1280:1024:0/raw:1/plain/abs://external/images/0f67a6b7-28e8-4cf9-a3bb-34a455afb1c7"
}
]
}