ReplicateImageComing soon

stability-ai/stable-diffusion-3.5-medium

stability-ai/stable-diffusion-3.5-medium 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.0455 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

cfgnumber
1 to 10
5

The guidance scale tells the model how similar the output should be to the prompt.

seednumber (whole)—

Set a seed for reproducibility. Random by default.

imageURL or file—

Input image for image to image mode. The aspect ratio of your output will match this image.

aspect_ratioJSON1:1

The aspect ratio of your output image. This value is ignored if you are using an input image.

output_formatJSONwebp

Format of the output images

negative_prompttext—

What you do not want to see in the image

prompt_strengthnumber
0 to 1
0.85

Prompt strength (or denoising strength) when using image to image. 1.0 corresponds to full destruction of information in image.

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": "stability-ai/stable-diffusion-3.5-medium",
    "input": {
      "prompt": "<prompt>"
    }
  }'