Skip to main content
Endpoint: POST https://fal.run/fal-ai/flux-pro/v1.1-ultra-finetuned Endpoint ID: fal-ai/flux-pro/v1.1-ultra-finetuned

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/flux-pro/v1.1-ultra-finetuned",
    arguments={
        "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"FLUX\" is painted over it in big, white brush strokes with visible texture.",
        "finetune_id": ""
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

Capabilities

  • Text prompt input
  • Reproducible generation (seed)
  • Synchronous mode
  • Batch generation
  • Image input
  • Aspect ratio control

API Reference

Input Schema

prompt
string
required
The prompt to generate an image from.
seed
integer
The same seed and the same prompt given to the same version of the model will output the same image every time.
sync_mode
boolean
default:"false"
If True, the media will be returned as a data URI and the output data won’t be available in the request history.
num_images
integer
default:"1"
The number of images to generate. Default value: 1Range: 1 to 4
output_format
OutputFormatEnum
default:"jpeg"
The format of the generated image. Default value: "jpeg"Possible values: jpeg, png
safety_tolerance
SafetyToleranceEnum
default:"2"
The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. Default value: "2"Possible values: 1, 2, 3, 4, 5, 6
enhance_prompt
boolean
default:"false"
Whether to enhance the prompt for better results.
image_url
string
The image URL to generate an image from.
image_prompt_strength
float
default:"0.1"
The strength of the image prompt, between 0 and 1. Default value: 0.1Range: 0 to 1
aspect_ratio
Enum | string
default:"16:9"
The aspect ratio of the generated image. Default value: 16:9Possible values: 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21
raw
boolean
default:"false"
Generate less processed, more natural-looking images.
finetune_id
string
required
References your specific model
finetune_strength
float
required
Controls finetune influence. Increase this value if your target concept isn’t showing up strongly enough. The optimal setting depends on your finetune and promptRange: 0 to 2

Output Schema

images
list<registry__image__fast_sdxl__models__Image>
required
The generated image files info.
timings
Timings
required
seed
integer
required
Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
has_nsfw_concepts
list<boolean>
required
Whether the generated images contain NSFW concepts.
prompt
string
required
The prompt used for generating the image.

Input Example

{
  "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"FLUX\" is painted over it in big, white brush strokes with visible texture.",
  "sync_mode": false,
  "num_images": 1,
  "output_format": "jpeg",
  "safety_tolerance": "2",
  "enhance_prompt": false,
  "image_prompt_strength": 0.1,
  "aspect_ratio": "16:9",
  "raw": false,
  "finetune_id": ""
}

Output Example

{
  "images": [
    {
      "url": "",
      "content_type": "image/jpeg"
    }
  ],
  "prompt": ""
}

Limitations

  • num_images range: 1 to 4
  • output_format restricted to: jpeg, png
  • safety_tolerance restricted to: 1, 2, 3, 4, 5, 6
  • image_prompt_strength range: 0 to 1
  • finetune_strength range: 0 to 2