{"enable_base64_output":false,"enable_sync_mode":false,"prompt":"Create a professional and visually engaging magazine cover for a lifestyle magazine called \"Urban Pulse.\" Include these featured article headlines clearly: \"10 Hidden Cafés You'll Love in NYC\" \"Minimalist Apartments: Small Spaces, Big Ideas\" \"Exclusive Interview: Behind the Scenes with Indie Band Echo District\" Use contemporary typography, vibrant colors, and include an eye-catching main photograph with a person standing in front of a city scene","quality":"medium","size":"1024*1536"}
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/openai/gpt-image-1/text-to-image' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"enable_base64_output": false,
"enable_sync_mode": false,
"prompt": "Create a professional and visually engaging magazine cover for a lifestyle magazine called \"Urban Pulse.\" Include these featured article headlines clearly: \"10 Hidden Cafés You'\''ll Love in NYC\" \"Minimalist Apartments: Small Spaces, Big Ideas\" \"Exclusive Interview: Behind the Scenes with Indie Band Echo District\" Use contemporary typography, vibrant colors, and include an eye-catching main photograph with a person standing in front of a city scene",
"quality": "medium",
"size": "1024*1536"
}'