Google AI Image Service
The Google AI Image Service allows users to generate images from text descriptions using Google's Imagen models.
Generate Image (POST)
Create a new image based on a descriptive prompt.
| Method | Path | Authentication |
|---|---|---|
| POST | /resource/common/data/googleaiimage |
Required |
Request Body (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
prompt |
String | Yes | A detailed description of the image to be generated. |
Response Body (JSON)
| Field | Type | Description |
|---|---|---|
attachment_path |
String | The path to the generated image file in blob storage. |
status |
String | The status of the operation (e.g., SUCCESS). |