Google's highest-quality text-to-image model, capable of generating images with rich details, outstanding lighting effects, and visually appealing results
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"16:9","enable_base64_output":false,"negative_prompt":"","num_images":1,"prompt":"A couple folding laundry together in a sunlit bedroom, casual clothes, sense of routine"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/ws/api/v3/google/imagen3-fast' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "16:9",
"enable_base64_output": false,
"negative_prompt": "",
"num_images": 1,
"prompt": "A couple folding laundry together in a sunlit bedroom, casual clothes, sense of routine"
}'