- CV任务状态码信息附录
- 绘图信息
- 绘图任务
- 模型训练
- 绘图工具
- 图片检测
- 视频工具
- 音频工具
- 翻译
提示词扩写
POST
/AIGCImgOpenServ/saas/tool/sdPrompts
请求参数
Body 参数application/json
task_id
string
任务id
raw_prompt
string
提示词
示例
{
"task_id": "93838940",
"raw_prompt": "a boy"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/sdPrompts' \
--header 'Content-Type: application/json' \
--data-raw '{
"task_id": "93838940",
"raw_prompt": "a boy"
}'
返回响应
🟢200成功
application/json
Body
task_id
string
任务id
tool_task
string
任务类型
status
integer
状态
prompts
array[string]
扩写的提示词列表
示例
{
"task_id":"93838940",
"tool_task":"sd_prompts",
"status":1,
"prompts":[
"realistic, (photorealistic:1.4), masterpiece best quality, 4k, extremely detailed face, high contrast, (photorealistic:1.3), (neon genesis evangelion:1.3), beautiful hair, white long hair, red eyes, short body, full body, 1boy"
]
}
修改于 2024-01-17 06:40:20