ReplicateImageComing soon

prunaai/p-image-lora

prunaai/p-image-lora is an image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Pricing

Coming soon

$0.0065 per image.

Limits

Runs
In the background
Returns
image
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—

Text prompt for image generation.

seednumber (whole)null

Random seed. Set for reproducible generation.

widthnumber (whole)
256 to 1440
null

Width of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16.

heightnumber (whole)
256 to 1440
null

Height of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16.

lora_scalenumber
-1 to 3
0.5

Determines how strongly the main LoRA should be applied. 0.5 usually works well for most LoRAs.

aspect_ratioJSON16:9

Aspect ratio for the generated image.

hf_api_tokentextnull

HuggingFace API token. If you're using a HuggingFace LoRAs that needs authentication, you'll need to provide an API token.

lora_weightstextnull

Load LoRA weights. Supports HuggingFace URLs in the format huggingface.co/<owner>/<model-name>[/<lora-weights-file.safetensors>]. HuggingFace LoRAs may require an API token to access, which you can provide in the hf_api_token input.

prompt_upsamplingtrue or falsefalse

upsample the prompt with an llm

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "prunaai/p-image-lora",
    "input": {
      "prompt": "<prompt>"
    }
  }'