falText to 3DAvailable now

fal-ai/meshy/v6-preview/text-to-3d

fal-ai/meshy/v6-preview/text-to-3d is a text to 3D tool from fal that runs in the background and returns 3D models and images. Pay as you go from $1.04 per generation, with one API key.

Try itfrom $1.04 / generation

Pricing

mode: preview $1.04, otherwise $1.56 per generation. enable_rigging adds $0.26 per generation. enable_rigging and enable_animation add $0.156 per generation. The final charge comes from usage.

Limits

Runs
In the background
Returns
3d, image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
24

Input

FieldKindDefaultDescription
prompt requiredtext—Describe what kind of object the 3D model is. Maximum 600 characters.
modeone of
preview, full
fullGeneration mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
seednumber (whole)—Seed for reproducible results. Same prompt and seed usually generate the same result.
model_typeone of
standard, lowpoly, smart-topology, smart-topology-t2
standardType of 3D mesh generation. 'standard' produces a regular high-detail mesh; 'lowpoly' produces a low-poly mesh optimized for cleaner polygons; 'smart-topology' (Smart Topology T2.5) and 'smart-topology-t2' (Smart Topology T2) produce clean, triangle-only meshes with natively separated parts on the geometry (preview) step — T2.5 has sharper detail, T2 is faster. When set to 'lowpoly', the remesh controls (topology, target_polycount, should_remesh) are ignored by Meshy.
topologyone of
quad, triangle
triangleSpecify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
target_polycountnumber (whole)
100 to 300000
30000Target number of polygons in the generated model. When model_type is a smart topology option and this is left unset, that model's default is used instead (15,000 for T2.5, 4,000 for T2); the maximum is 30,000 for T2.5 and 15,000 for T2.
should_remeshtrue or falsetrueWhether to enable the remesh phase. When false, returns unprocessed triangular mesh.
symmetry_modeone of
off, auto, on
autoControls symmetry behavior during model generation.
enable_pbrtrue or falsefalseGenerate PBR Maps (metallic, roughness, normal) in addition to base color.
is_a_t_posetrue or falsefalseDeprecated: use pose_mode instead. When true, generates a T-pose model.
pose_modeone of
a-pose, t-pose,
Pose mode for the generated model. 'a-pose' generates an A-pose, 't-pose' generates a T-pose, empty string for no specific pose.
enable_prompt_expansiontrue or falsefalseWhether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
texture_prompttext—Additional text prompt to guide the texturing process (only used in 'full' mode)
texture_image_urlURL or file—2D image to guide the texturing process (only used in 'full' mode)
enable_riggingtrue or falsefalseAutomatically rig the generated model as a humanoid character. Includes basic walking and running animations. Best results with humanoid characters that have clearly defined limbs.
rigging_height_metersnumber1.7Approximate height of the character in meters. Only used when enable_rigging is true.
enable_animationtrue or falsefalseApply an animation preset to the rigged model. Requires enable_rigging to be true.
animation_action_idnumber (whole)92Animation preset ID from Meshy's library. Only used when enable_animation is true; in that case it must be in [0, 696] (``0`` is the "Idle" preset) and is otherwise rejected with a 422. See https://docs.meshy.ai/en/api/animation-library for available action IDs.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/meshy/v6-preview/text-to-3d",
    "input": {
      "prompt": "A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle…"
    }
  }'