lightweight-ai / model3_1_3

  • Public
  • 98.4K runs
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 lightweight-ai/model3_1_3 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": "lightweight-ai/model3_1_3:acd4b888771c7cdbc27a9b99fde9b0681eab2eca9953af589651c5e0ebfb0e5c",
    "input": {
      "loras": [],
      "width": 1024,
      "height": 1024,
      "prompt": "A bohemian-style female travel blogger with sun-kissed skin and messy beach waves",
      "inpaint": false,
      "version": 0,
      "scheduler": "K_EULER",
      "controlnet": false,
      "lora_scales": [],
      "num_outputs": 1,
      "control_type": "canny",
      "nsfw_chekcer": false,
      "low_threshold": 100,
      "output_format": "png",
      "guidance_scale": 3.5,
      "high_threshold": 200,
      "output_quality": 100,
      "negative_prompt": "",
      "prompt_strength": 0.8,
      "control_strength": 0.2,
      "num_inference_steps": 28
    }
  }' \
  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 L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.