Focused server-side examples for building Hunyuan 3D 3.1 text-to-3D and image-to-3D workflows on PoYo.
Hunyuan 3D 3.1 is useful for game assets, product concepts, AR previews, and 3D draft workflows that need pro or rapid generation paths.
Try on PoYo | Get API Key | Docs | Pricing | Main Examples
- Text-to-3D with
hunyuan-3d/v3.1/pro/text-to-3d - Image-to-3D and rapid variant request patterns
- PBR, geometry, and face count controls
- Async task flow with polling and webhooks
- cURL and Node.js backend examples
cp .env.example .env
export POYO_API_KEY="your-api-key"Run the Node.js example:
cd node
npm startKeep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.
- Keep
POYO_API_KEYon the server - Submit a generation task
- Store
data.task_id - Poll status while testing
- Use
callback_urlwebhooks in production
This repo uses hunyuan-3d/v3.1/pro/text-to-3d, hunyuan-3d/v3.1/pro/image-to-3d, hunyuan-3d/v3.1/rapid/text-to-3d, hunyuan-3d/v3.1/rapid/image-to-3d.
| Path | What it covers |
|---|---|
curl/generate.md |
Copy-paste async submit request. |
node/ |
Native Node.js backend example with polling. |
docs/prompt-examples.md |
Practical prompts for product workflows and creative tests. |
docs/production-notes.md |
Security and reliability notes before launch. |
webhooks/express-webhook/ |
Minimal Express receiver for PoYo callbacks. |
make checkOn Windows:
./scripts/check.ps1MIT