georgedavila / pixart-alpha-general

Allows you to test out different Pixart-Alpha models, text encoders for those models, and run custom Pixart-Alpha checkpoints on replicate

  • Public
  • 7 runs
  • L40S
  • GitHub

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 georgedavila/pixart-alpha-general 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": "3bc1c7f4264ca6bde44c8fb9610c820815ef128bec04f01a33dbb03a091f5b0f",
    "input": {
      "style": "None",
      "width": 1024,
      "height": 1024,
      "prompt": "A cat doing karate in Madrid, cinematic, 8k UHD",
      "scheduler": "DPMSolverMultistep",
      "customModel": "PixArt-alpha/PixArt-XL-2-1024-MS",
      "modelChoice": "PixArt-alpha/PixArt-XL-2-1024-MS",
      "num_outputs": 1,
      "guidance_scale": 4.5,
      "useCustomModel": false,
      "customTextEncoder": "PixArt-alpha/PixArt-XL-2-1024-MS",
      "textEncoderChoice": "PixArt-alpha/PixArt-XL-2-1024-MS",
      "num_inference_steps": 14,
      "useCustomTextEncoder": false
    }
  }' \
  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.