Generate 2D Image from Text
meshy_text_to_imageGenerate a 2D image from a text prompt to review or approve a design before creating a 3D model; optionally produce multi-view images for 3D conversion.
Instructions
Generate a 2D image from text, e.g. a design for the user to approve before 3D. Typically ~30 s. Cost: nano-banana 3, nano-banana-2 6, nano-banana-2-lite 3, nano-banana-2-1 4, nano-banana-pro 9, GPT Image models 9 credits.
To make it 3D: meshy_image_to_3d with input_task_id = this task (multi-view output: meshy_multi_image_to_3d).
Example: { ai_model: "nano-banana-pro", prompt: "game character", generate_multi_view: true, pose_mode: "t-pose" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description | |
| ai_model | Yes | Image model; ask the user. | |
| pose_mode | No | Character pose: 'a-pose' or 't-pose' | |
| aspect_ratio | No | Default '1:1'; '3:2' and '2:3' are GPT Image models only. Not with generate_multi_view. | |
| response_format | No | markdown (default) or json | markdown |
| remove_background | No | Transparent-background PNG (no effect on multi-view output). | |
| generate_multi_view | No | Front/side/back views (input for meshy_multi_image_to_3d). Not with aspect_ratio. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| task_id | Yes | ||
| estimated_time | Yes |