You're looking at a specific version of this model. Jump to the model overview.

flux-kontext-apps /depth-of-field:aa6df425

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
input_image
string
Image to add professional background blur effects. Must be jpeg, png, gif, or webp.
blur_effect
string (enum)
ultra shallow depth of field

Options:

Random, extreme background blur, maximum bokeh effect, ultra shallow depth of field, professional portrait blur, cinematic depth of field, studio photography blur, dramatic background blur, creamy smooth bokeh, intense background separation, golden hour lighting with background blur, dramatic rim lighting with blur, professional studio lighting with bokeh, moody lighting with background blur, high-key lighting with blur, low-key dramatic lighting with blur, 85mm lens background separation, telephoto compression blur, portrait lens blur, fashion photography blur, headshot photography blur, dreamy ethereal background blur, film photography vintage blur, commercial photography blur, editorial style background blur, luxury portrait blur

The professional blur effect to add to the background
gender
string (enum)
none

Options:

none, male, female

The gender of the person
aspect_ratio
string (enum)
match_input_image

Options:

match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2

Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
seed
integer
Random seed. Set for reproducible generation

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}