文本转 3D
开发环境
开发环境
POST
https://stablediffusionapi.com/api/v3/txt_to_3d
POST
向https://stablediffusionapi.com/api/v3/txt_to_3d 接口发出请求,并将所需参数作为请求正文传递。请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://stablediffusionapi.com/api/v3/txt_to_3d' \
--header 'Content-Type: application/json' \
--data-raw '{
"key":"",
"prompt":"beautiful man",
"guidance_scale":20,
"steps":64,
"frame_size":256,
"output_type":"gif",
"webhook": null,
"track_id": null
}'
响应示例响应示例
{
"status": "string",
"generationTime": 0,
"id": 0,
"output": [
"string"
],
"meta": {
"file_prefix": "string",
"frame_size": 0,
"guidance_scale": 0,
"negative_prompt": "string",
"outdir": "string",
"output_type": "string",
"prompt": "string",
"safetychecker": "string",
"seconds": 0,
"seed": 0,
"steps": 0
}
}
请求参数
Body 参数application/json
返回响应
修改于 2023-10-30 10:31:49