Boogu Image Text To Image API Documentation
Playground
Try it on WaveSpeedAI!Boogu Image Text to Image generates high-quality images from bilingual English and Chinese text prompts, supporting flexible text-to-image creation with strong prompt understanding. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Boogu Image Text-to-Image generates high-quality images from detailed English or Chinese prompts. It supports common aspect ratio presets and standard output formats, making it simple to create images for creative, marketing, and content workflows.
Why Choose This?
-
Bilingual prompting
Write prompts in English or Chinese to describe the image you want to generate. -
Flexible aspect ratios
Choose square, portrait, or landscape ratios without manually setting custom width and height. -
Simple generation controls
Keep the workflow focused on prompt, aspect ratio, and output format. -
Standard image output
Generated images are returned as URLs in the standard WaveSpeed prediction response.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image to generate. English and Chinese are supported. |
| image_size | No | Output aspect ratio preset. Supported values include 1:1, 16:9, 9:16, 4:3, and 3:4. Default: 1:1. |
| output_format | No | Output image format: jpeg or png. Default: jpeg. |
How to Use
- Write your prompt — Describe the subject, scene, style, lighting, mood, and composition.
- Choose aspect ratio — Select
1:1,16:9,9:16,4:3, or3:4based on your target layout. - Choose output format — Use
jpegfor general-purpose images orpngwhen you need PNG output. - Submit — Generate the final image and retrieve the output URL.
Price
| Aspect Ratio | Price |
|---|---|
| 1:1 | $0.06 |
| 16:9 | $0.04 |
| 9:16 | $0.04 |
| 4:3 | $0.05 |
| 3:4 | $0.05 |
Best Use Cases
- Creative image generation — Generate concept art, stylized scenes, illustrations, and visual ideas from text.
- Bilingual prompt workflows — Use English or Chinese prompts in the same API workflow.
- Marketing assets — Create campaign visuals, blog images, product graphics, and social media content.
- Prompt testing — Compare different prompt directions with a simple text-to-image interface.
- Layout-specific generation — Generate square, portrait, or landscape images for different content formats.
Pro Tips
- Use detailed prompts with subject, scene, lighting, style, mood, and composition.
- Use
1:1for balanced square images. - Use
9:16for vertical mobile content and16:9for widescreen layouts. - Use
4:3or3:4for poster-like or editorial compositions. - Keep prompts specific enough to guide the desired subject placement and visual style.
- Choose
jpegfor smaller general-purpose outputs andpngwhen PNG output is required.
## Authentication
For authentication details, please refer to the [Authentication Guide](/api-authentication).
## API Endpoints
### Submit Task & Query Result
<ApiTabs submitUrl={model.submitUrl} resultUrl={model.resultUrl} payload={model.defaultValues} />
## Parameters
### Task Submission Parameters
#### Request Parameters
<RequestParams params={model.params} />
#### Response Parameters
<SubmitResponse />
#### Result Request Parameters
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| id | string | Yes | - | Task ID |
#### Result Response Parameters
| Parameter | Type | Description |
|-----------|------|-------------|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., "success") |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string \| object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: `created`, `processing`, `completed`, or `failed` |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |