3D Models
Create a 3D mesh generation task
/3d_models/meshesGenerate a 3D mesh from text, a single image, or a multi-view image set.
Request Body
promptmodelwith_texturehd_texturepbr_textureoptionsblockpriorityinput_imagemodelwith_texturehd_texturepbr_textureoptionsblockpriorityinput_imagesfrontleftbackrightmodelwith_texturehd_texturepbr_textureoptionsblockpriorityResponses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]task_uuid from the response body to poll the corresponding GET endpoint for the result. Sync vs async →curl https://api.v2fun.ai/api/v1/3d_models/meshes \
-X POST \
-H "Authorization: Bearer $YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "<prompt>"
}'{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Get a 3D mesh generation task
/3d_models/meshes/{task_uuid}Retrieve the current status or final output of a 3D mesh generation task.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
task_uuid | path | Yes | string | Task UUID returned when the 3D mesh job was created. |
Responses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]curl https://api.v2fun.ai/api/v1/3d_models/meshes/<task_uuid> \
-H "Authorization: Bearer $YOUR_API_KEY"{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Create a texture generation task
/3d_models/texturesGenerate textures for an existing 3D model from text, a single reference image, or multi-view reference images.
Request Body
promptinput_modelhd_texturepbr_texturekeep_uvoptionsblockpriorityinput_imageinput_modelhd_texturepbr_texturekeep_uvoptionsblockpriorityinput_imagesfrontleftbackrightinput_modelhd_texturepbr_texturekeep_uvoptionsblockpriorityResponses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]task_uuid from the response body to poll the corresponding GET endpoint for the result. Sync vs async →curl https://api.v2fun.ai/api/v1/3d_models/textures \
-X POST \
-H "Authorization: Bearer $YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "<prompt>",
"input_model": "<input_model>"
}'{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Get a texture generation task
/3d_models/textures/{task_uuid}Retrieve the current status or final output of a 3D texture generation task.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
task_uuid | path | Yes | string | Task UUID returned when the texture generation job was created. |
Responses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]curl https://api.v2fun.ai/api/v1/3d_models/textures/<task_uuid> \
-H "Authorization: Bearer $YOUR_API_KEY"{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Create a remeshing task
/3d_models/remeshingsRetopologize an existing 3D model into a target mesh density and topology.
Request Body
input_modelmesh_countmesh_topologyoptionsblockpriorityResponses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]task_uuid from the response body to poll the corresponding GET endpoint for the result. Sync vs async →curl https://api.v2fun.ai/api/v1/3d_models/remeshings \
-X POST \
-H "Authorization: Bearer $YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_model": "<input_model>"
}'{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Get a remeshing task
/3d_models/remeshings/{task_uuid}Retrieve the current status or final output of a remeshing task.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
task_uuid | path | Yes | string | Task UUID returned when the remeshing job was created. |
Responses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]curl https://api.v2fun.ai/api/v1/3d_models/remeshings/<task_uuid> \
-H "Authorization: Bearer $YOUR_API_KEY"{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Create a model conversion task
/3d_models/conversionsConvert an existing 3D model into another file format.
Request Body
input_modeloutput_formatrotation_xrotation_yrotation_ztarget_sizetarget_size_1target_size_2target_size_2[]target_size_3uniform_coloroptionsblockpriorityResponses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]task_uuid from the response body to poll the corresponding GET endpoint for the result. Sync vs async →curl https://api.v2fun.ai/api/v1/3d_models/conversions \
-X POST \
-H "Authorization: Bearer $YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_model": "<input_model>",
"output_format": "<model3dconversionformat>"
}'{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Get a model conversion task
/3d_models/conversions/{task_uuid}Retrieve the current status or final output of a 3D model conversion task.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
task_uuid | path | Yes | string | Task UUID returned when the conversion job was created. |
Responses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatametadata[]reference_imagesreference_images[]preview_imaget_pose_modelmesh_infopreview_videodownloadsdownloads[]curl https://api.v2fun.ai/api/v1/3d_models/conversions/<task_uuid> \
-H "Authorization: Bearer $YOUR_API_KEY"{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Create a 3D model rendering task
/3d_models/renderingsRender preview images or a preview video for an existing 3D model.
Request Body
input_modeloutput_typeoptionsblockpriorityResponses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatatask_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatalast_framedownloadsdownloads[]metadata_2metadata_2[]metadata_3task_uuid from the response body to poll the corresponding GET endpoint for the result. Sync vs async →curl https://api.v2fun.ai/api/v1/3d_models/renderings \
-X POST \
-H "Authorization: Bearer $YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_model": "<input_model>"
}'{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}Get a 3D model rendering task
/3d_models/renderings/{task_uuid}Retrieve the current status or final output of a 3D model rendering task.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
task_uuid | path | Yes | string | Task UUID returned when the rendering job was created. |
Responses
For standard error codes, see Error Handling.
task_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatatask_uuidtask_typemodelstatuscreated_atcompleted_atresultresult[]metadatalast_framedownloadsdownloads[]metadata_2metadata_2[]metadata_3curl https://api.v2fun.ai/api/v1/3d_models/renderings/<task_uuid> \
-H "Authorization: Bearer $YOUR_API_KEY"{
"task_uuid": "<task_uuid>",
"task_type": "<task_type>",
"model": "<model>",
"status": "<taskstatus>",
"created_at": 0,
"completed_at": 0,
"result": []
}