flux-kontext-apps/in-scene

InScene is a LoRA by Peter O’Malley (POM) that's designed to generate images that maintain scene consistency with a source image. It is trained on top of Flux.1-Kontext.dev.

Public
1.5K runs

Run flux-kontext-apps/in-scene with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
None
prompt
string
Make a shot in the same scene of
Text prompt for video generation
aspect_ratio
None
match_input_image
Aspect ratio of the output
lora_strength
number
1
Strength of the lora
output_format
None
webp
Format of the output image

Output schema

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

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/n3ttHtYVZ2bcGFfJ1kZefiRAWTYz0TL00nBgHycnoN0VSeUUB/output.webp'