Generate 2D Image from Text
meshy_text_to_imageGenerate a 2D image from a text prompt to preview and approve a design before 3D conversion. Produces multi-view or pose-locked concept art for use as input to image-to-3D.
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" }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ai_model": "<ai_model>",
"prompt": "<prompt>"
},
"name": "meshy_text_to_image"
}
}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'. nano-banana models render a pose at 3:4 whatever aspect_ratio says. | |
| aspect_ratio | No | Default '1:1'; '3:2' and '2:3' are GPT Image models only (refused on nano-banana). Not with generate_multi_view. With pose_mode, nano-banana models render 3:4 regardless. | |
| 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 |