prompthunt / cog-with-tile

  • Public
  • 50 runs
  • L40S
Iterate in playground

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 prompthunt/cog-with-tile 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": "prompthunt/cog-with-tile:8fc68c62a972ffb27de1823a28633dd27ae4323fb85f28b743d0ca82756f52e9",
    "input": {
      "width": 512,
      "height": 512,
      "prompt": "photo of cjw person",
      "scheduler": "DPMSolverMultistep",
      "tile_scale": 1.5,
      "tile_steps": 32,
      "num_outputs": 1,
      "tile_strength": 0.2,
      "guidance_scale": 7.5,
      "negative_prompt": "",
      "prompt_strength": 0.8,
      "should_swap_face": false,
      "show_debug_images": false,
      "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 costs approximately $0.026 to run on Replicate, or 38 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 27 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.