3D
Generate 3D Model With JSON
Generate a 3D model from a text prompt or reference image using JSON parameters. microsoft/trellis-2 supports low, medium, and high resolution with variable pricing. nvidia/asset-harvester returns PLY.
post/3d/{prompt}
Request
- Base URL: https://gen.pollinations.ai
- URL: https://gen.pollinations.ai/3d/{prompt}
- Auth: HTTP bearer
Path parameters
promptstring required
Example:a low-poly treasure chest
Text description of the 3D model to generate (required for text-to-3D models; ignored by image-only models)
Query parameters
keystring
API key (alternative to Authorization header)
Safety features: comma-separated list of privacy, secrets, sexual, violence, shield, true, nsfw. true enables privacy,secrets; nsfw enables sexual,violence. Also accepted in the Pollinations-Safe header. Defaults to off; false and 0 are accepted as off.
Request body
Response
Success - Returns the generated 3D model
Changes
No recorded changes to this operation across all 1 revision of this API.