header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
{"prompt":"A tabby cat sitting on a rustic wooden table, warm sunlight from the left window, white curtains in the background, photorealistic, eye level shot","aspect_ratio":"1:1","output_format":"webp","prompt_upsampling":false}
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'https://api.ezlinkai.com/flux/v1/flux-kontext-max' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"prompt": "A tabby cat sitting on a rustic wooden table, warm sunlight from the left window, white curtains in the background, photorealistic, eye level shot",
"aspect_ratio": "1:1",
"output_format": "webp",
"prompt_upsampling": false
}'