POST
/
model
/
infer
/
flux
curl --request POST \
  --url https://http.flux.proxy.prod.s9t.link/model/infer/flux \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "Minimalist photography, beautiful mermaid with long hair covered with seashells and seagras, under water, sad face, heterochromia eyes blue and black, 8k, intricate detailed, eyes closed",
  "height": 1024,
  "width": 1024,
  "seed": 129232030,
  "num_inference_steps": 50,
  "num_images_per_prompt": 1,
  "guidance_scale": 7,
  "negative_prompt": "cartoon-like",
  "lora_weights": ""
}'
{
  "images": [
    null
  ],
  "time_taken": 123,
  "duration": 123,
  "seed": 123
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Body

application/json

Response

200
application/json

Successful image generation

The response is of type object.