图像转 3D
开发环境
开发环境
POST
https://stablediffusionapi.com/api/v3/img_to_3d
POST
向https://stablediffusionapi.com/api/v3/img_to_3d端点发出请求,并将所需参数作为请求正文传递。请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://stablediffusionapi.com/api/v3/img_to_3d?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues' \
--data-raw '{
"key":"",
"image":"https://img.freepik.com/premium-photo/red-roses-rose-petals-white-backgroundvalentines-day-concept_167862-5720.jpg",
"guidance_scale":5,
"steps":64,
"frame_size":128,
"batch_size":10,
"seed":20,
"safety_checker":"no",
"seconds":4,
"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:33:59