replicate-python icon indicating copy to clipboard operation
replicate-python copied to clipboard

How to get seed value from response?

Open adnankaya opened this issue 8 months ago • 0 comments

Following code allows us generate image.


output = replicate.run(
    "black-forest-labs/flux-schnell",
    input={
        "prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot",
        "go_fast": True,
        "megapixels": "1",
        "num_outputs": 1,
        "aspect_ratio": "1:1",
        "output_format": "webp",
        "output_quality": 80,
        "num_inference_steps": 4
    }
)

how can I access seed number in my code ?

adnankaya avatar Apr 29 '25 14:04 adnankaya