replicategithubwc / flux-schnell-inpainting

  • Public
  • 10 runs
  • A100 (80GB)

Input

Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Run replicategithubwc/flux-schnell-inpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

curl -s -X POST \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait" \
  -d $'{
    "version": "9118593061e14df539a5a35fb4f9fb147d7bf79a140c01beaad25a7ee6020566",
    "input": {
      "width": 1024,
      "height": 1024,
      "prompt": "a photo of an astronaut riding a horse on mars",
      "num_outputs": 1,
      "guidance_scale": 7.5,
      "output_quality": 80,
      "prompt_strength": 0.8,
      "num_inference_steps": 50
    }
  }' \
  https://api.replicate.com/v1/predictions

To learn more, take a look at Replicate’s HTTP API reference docs.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.