Phoenix offers excellent prompt adherence, coherent text within images, and provides iterative prompt capabilities through AI editing. Phoenix is Leonardo.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"3:4","prompt":"An astronaut stands in a strange, bioluminescent purple jungle on an alien planet. She slowly reaches out her hand as a graceful creature made of translucent energy curiously approaches, gently touching her glove's fingertip with its tendril. The reflection of the planet's two moons is visible on her helmet's visor. Sense of wonder, photorealistic, cinematic."}
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/leonardoai/phoenix-1.0' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "3:4",
"prompt": "An astronaut stands in a strange, bioluminescent purple jungle on an alien planet. She slowly reaches out her hand as a graceful creature made of translucent energy curiously approaches, gently touching her glove'\''s fingertip with its tendril. The reflection of the planet'\''s two moons is visible on her helmet'\''s visor. Sense of wonder, photorealistic, cinematic."
}'