Generate an image
generate_imageTurn text prompts into images on SayMaker, receiving the image URL and exact credit cost. Specify subject, framing, lighting, and materials for precise results; async task polling is available.
Instructions
Generate an image from a text prompt on saymaker.ai and return its URL. Runs on your SayMaker credits and reports the exact credit cost. Name subject, framing, light and material in the prompt — vague prompts cost the same as precise ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the result (default true). False returns a task id to poll. | |
| model | No | Model id from list_models. Defaults to Nano Banana 2. | |
| prompt | Yes | What the image should show. | |
| resolution | No | Output resolution where the model offers one: '1K', '2K' or '4K'. Bigger costs more credits. | |
| aspect_ratio | No | e.g. '1:1', '16:9', '9:16', '4:3', '3:4'. Default '1:1'. |