Fetch 3D generation result
curl --request POST \
--url https://modelslab.com/api/v6/3d/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {
"chunk_size": 123,
"file_prefix": "<string>",
"foreground_ratio": "<string>",
"guidance_scale": 123,
"image": "<string>",
"negative_prompt": "<string>",
"num_inference_steps": 123,
"output_format": "<string>",
"prompt": "<string>",
"remove_bg": true,
"render": true,
"resolution": 123,
"seed": 123,
"temp": "<string>",
"ss_guidance_strength": 123,
"ss_sampling_steps": 123,
"slat_guidance_strength": 123,
"slat_sampling_steps": 123,
"mesh_simplify": 123,
"multi_image": true,
"texture_size": 123
}
}3D API
Fetch 3D
The Fetch 3D Response endpoint retrieves queued or already generated 3D objects.
POST
/
3d
/
fetch
/
{id}
Fetch 3D generation result
curl --request POST \
--url https://modelslab.com/api/v6/3d/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {
"chunk_size": 123,
"file_prefix": "<string>",
"foreground_ratio": "<string>",
"guidance_scale": 123,
"image": "<string>",
"negative_prompt": "<string>",
"num_inference_steps": 123,
"output_format": "<string>",
"prompt": "<string>",
"remove_bg": true,
"render": true,
"resolution": 123,
"seed": 123,
"temp": "<string>",
"ss_guidance_strength": 123,
"ss_sampling_steps": 123,
"slat_guidance_strength": 123,
"slat_sampling_steps": 123,
"mesh_simplify": 123,
"multi_image": true,
"texture_size": 123
}
}Note:This endpoint does not generate new 3D objects; it only returns already generated or queued ones.
Request
Send aPOST request to the endpoint below with to retrieve queued images this does not generate new ones.
curl
--request POST 'https://modelslab.com/api/v6/3d/fetch/{id}' \
Body
json
{
"key": ""
}
Path Parameters
The ID of the 3D generation to fetch
Body
application/json
Your API Key used for authenticating your request
Response
Fetch response
- Option 1
- Option 2
Available options:
success Time taken to generate the 3D model in seconds
Unique identifier for the generation request
Array of URLs to the generated 3D files
Array of proxy URLs for the generated 3D files
Metadata about the generation process and parameters used
Show child attributes
Show child attributes
Was this page helpful?
⌘I

