generate_image
Generate images using a Gwanggo model. Select a model with list_models, then submit a prompt and optional parameters to create and retrieve an image URL.
Instructions
Generate an image with a Gwanggo model. Spends credits. Waits for completion and returns the image URL. Use list_models first to choose a model slug and see its options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model slug, e.g. "seedream-5", "gpt-image-2" | |
| prompt | Yes | What to generate | |
| quality | No | Model-dependent quality tier, e.g. "basic" | "high" | |
| image_url | No | Reference image URL for edit/i2i models | |
| aspect_ratio | No | e.g. "1:1", "16:9", "9:16" (model-dependent) |