flux-kontext-apps/impossible-scenarios 🔢❓🖼️ → 🖼️

⭐ Official ▶️ 5.5K runs 📅 May 2025 ⚙️ Cog 0.16.8
image-consistent-character-generation image-editing image-to-image

About

Experience impossible adventures and extreme scenarios from a single image

Example Output

Output

Example output

Performance Metrics

6.79s Prediction Time
6.80s Total Time
All Input Parameters
{
  "gender": "none",
  "input_image": "https://replicate.delivery/pbxt/N5r0L7Cv9vSvsrRe73caYcmcj273A7LGH7oAck8y31xf1ixy/Screenshot%202025-05-02%20at%2015.21.27.png",
  "aspect_ratio": "match_input_image",
  "impossible_scenario": "Floating in space as an astronaut"
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
gender Default: none
The gender of the person
input_image (required) Type: string
Image of the person to place in an impossible scenario. Must be jpeg, png, gif, or webp.
aspect_ratio Default: match_input_image
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
output_format Default: png
Output format for the generated image
safety_tolerance Type: integerDefault: 2Range: 0 - 2
Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.
impossible_scenario Default: Floating in space as an astronaut
The impossible scenario to place the person in
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Prompt: Change the background and setting to: Floating in space as an astronaut. Keep the person in the exact same position, pose, scale, camera angle, and framing. Preserve them exact facial features, hairstyle, eye color, and facial expression. Add appropriate protective gear or outfit if needed for the scenario while maintaining them identity. Only replace the environment around them. Make it look realistic and dramatic as if them is actually in this extreme situation.
Using seed: 77999200
Generating...
Generated image in 5.4sec
Downloading 1394648 bytes
Downloaded 1.33MB in 1.28sec
Version Details
Version ID
2e98900f49e72735f6abc6b24f654e45f874c063a45f42f4d696f41cbca628ea
Version Created
October 13, 2025
Run on Replicate →