Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the response result through the unified Query Task Status endpoint.
Hunyuan 3D 3.6 is Tencent Hunyuan’s 3D generation model for production-grade assets. It focuses on high-poly meshes and PBR textures, with clear part boundaries on armor layers, equipment and accessories, and fine detail on faces and cloth folds. It suits characters, creatures, clothing and complex props for games, animation, e-commerce and 3D printing previews.

Models

  • hunyuan-3d/v3.6/text-to-3d - Build a 3D model from a text prompt
  • hunyuan-3d/v3.6/image-to-3d - Build a 3D model from one front-view image, with up to seven extra views

Features

  • Meshes up to 2,000,000 faces, with a face-count target from 1,000 and an exact-count mode
  • Texture maps at 2K, 4K or 8K in PNG, JPEG or WEBP
  • PBR material maps: metallic, roughness and normal
  • Textured models or untextured white models
  • Five texture styles for text to 3D: blue-and-white porcelain, Chinese style, sculpture, cartoon and cyberpunk
  • Multi-view input for image to 3D: back, left, right, top, bottom, left-front and right-front
  • Unlit albedo textures by default, or textures that keep the lighting of the input image
  • A GLB model and a preview image in every result, plus an OBJ archive with MTL and texture maps for textured models

Input modes

  • Text to 3D: use hunyuan-3d/v3.6/text-to-3d and describe the object in prompt.
  • Image to 3D: use hunyuan-3d/v3.6/image-to-3d with one front-view image in image_urls.
  • Multi-view image to 3D: use hunyuan-3d/v3.6/image-to-3d with the front view in image_urls and one or more of the seven view fields. Extra views give the model the hidden sides of the object.

Required parameters

  • prompt (string): hunyuan-3d/v3.6/text-to-3d. Description of the object, up to 1024 characters.
  • image_urls (string[]): hunyuan-3d/v3.6/image-to-3d. Exactly one front-view image: JPG, PNG or WEBP, 128-5000 px per side, under 10 MB.

Optional parameters

  • generate_type (string): Normal (default) for a textured model, or Geometry for an untextured white model.
  • face_count (integer): Target face count from 1000 to 2000000. Default 2000000.
  • face_strict_mode (boolean): true matches face_count exactly; false (default) lets the model set the final count from the object’s detail.
  • enable_pbr (boolean): true adds metallic, roughness and normal maps. Default false.
  • texture_resolution (string): 2k, 4k (default) or 8k.
  • texture_format (string): png, jpeg (default), jpg or webp.
  • seamless_texture (boolean): true favors fewer texture seams over fine texture detail. Default false.
  • style (string): hunyuan-3d/v3.6/text-to-3d. One of qinghuaci, china_style, sculpture, cartoon or cyberpunk.
  • back_image_url, left_image_url, right_image_url, top_image_url, bottom_image_url, left_front_image_url, right_front_image_url (string): hunyuan-3d/v3.6/image-to-3d. One image per view of the same object: JPG or PNG, 128-5000 px per side.
  • bake_lighting (boolean): hunyuan-3d/v3.6/image-to-3d. true keeps the lighting and shadows of the input image in the texture; false (default) returns an unlit albedo texture.
  • ao_strength (number): hunyuan-3d/v3.6/image-to-3d multi-view tasks. Ambient occlusion strength from 0 (default) to 1.

Output

A finished task returns its files in files, in this order:
  • The 3D model in GLB format (file_type: 3d, .glb)
  • Normal tasks: a ZIP archive with the OBJ model, its MTL file and texture maps (file_type: 3d, .zip)
  • A PNG preview of the model (file_type: image, .png)
Each file item includes file_url and file_type.

Examples

  • Text to 3D: send only prompt for a textured 4K model at 2,000,000 faces, such as a dwarf blacksmith with chainmail, riveted pauldrons and a braided beard.
  • Styled text to 3D: add style: "qinghuaci" and enable_pbr for a blue-and-white porcelain teapot with PBR materials.
  • Image to 3D: send one front view of a steampunk owl in image_urls with enable_pbr for a textured model with PBR maps.
  • Multi-view image to 3D: add back_image_url and left_image_url of the same owl next to image_urls, plus ao_strength: 0.5 for ambient occlusion.
  • White model: set generate_type: "Geometry", face_count: 300000 and face_strict_mode: true for an untextured mesh at an exact face count.

Notes

  • Texture options (enable_pbr, texture_resolution, texture_format, seamless_texture, bake_lighting, ao_strength) apply to Normal tasks. Geometry tasks deliver the untextured mesh as a GLB file with a preview image.
  • In PoYo testing, textured tasks at the default 2,000,000 faces and 4K textures finished in 6-9 minutes with a GLB of about 65-75 MB and an OBJ archive of about 40-47 MB. A Geometry task at 300,000 faces finished in about 2.5 minutes with a 5.4 MB GLB. Lower face_count for lighter files and faster downloads.
  • Use a clean front view with the whole object in frame and a plain background for the best image-to-3D results. Extra views must show the same object.

Authorizations

Authorization
string
header
required

All API endpoints require Bearer Token authentication.

Create an API key: sign in to PoYo, open Dashboard → API Key at poyo.ai/dashboard/api-key, and click to create a key.

Add it to the request header:

Body

application/json

Request body. Send prompt with hunyuan-3d/v3.6/text-to-3d, or image_urls with hunyuan-3d/v3.6/image-to-3d.

model
enum<string>
required

Public model identifier.

Available options:
hunyuan-3d/v3.6/text-to-3d,
hunyuan-3d/v3.6/image-to-3d
input
object
required
callback_url
string<uri>

Webhook URL for finished or failed task notifications.

Response

Task submitted successfully

code
enum<integer>
required

Business status code. 200 means success; any other value means the request failed. Always check this field: some validation errors return HTTP 200 with code: 400 in the body.

  • 200: Success
  • 400: Invalid request parameters
  • 401: Missing or invalid API key
  • 402: Insufficient credits
  • 403: Permission denied
  • 404: Resource not found
  • 408: Request timeout
  • 429: Rate limit exceeded
  • 500: Internal server error
  • 502: Upstream service error
  • 503: Service unavailable

See Error Codes for details.

Available options:
200,
400,
401,
402,
403,
404,
408,
429,
500,
502,
503
Example:

200

data
object
required