ReplicateText to imageComing soon
prunaai/p-image
prunaai/p-image is a text to 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.
Priced by usagePricing
$0.0065 per image.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for image generation. |
seed | number (whole) | — | Random seed. Set for reproducible generation. |
width | number (whole) 256 to 1440 | — | Width of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16. |
height | number (whole) 256 to 1440 | — | Height of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16. |
lora_scale | number -1 to 3 | 0.5 | Determines how strongly the main LoRA should be applied. 0.5 usually works well for most LoRAs. |
aspect_ratio | JSON | 16:9 | Aspect ratio for the generated image. |
hf_api_token | text | — | HuggingFace API token. If you're using a HuggingFace LoRAs that needs authentication, you'll need to provide an API token. |
lora_weights | text | — | 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_upsampling | true or false | false | Upsample the prompt with an LLM. |
enable_copyright_filter | true or false | false | Reject prompts that ask for copyrighted characters, trademarks or logos, or a real person's likeness. |
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",
"input": {
"prompt": "<prompt>"
}
}'