prodialabs
/
stable-diffusion
Play with Prodia's managed Stable Diffusion API.
- Public
- 12 runs
- GitHub
Run prodialabs/stable-diffusion with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
api_key |
string
|
Prodia API Key
|
|
prompt |
string
|
puppies in a cloud, 4k
|
Prompt
|
model |
string
|
v1-5-pruned-emaonly.safetensors [d7049739]
|
Model
|
negative_prompt |
string
|
badly drawn
|
Negative Prompt
|
steps |
integer
|
25
|
Steps
|
cfg_scale |
integer
|
7
|
CFG Scale
|
sampler |
string
|
DPM++ 2M Karras
|
Sampler
|
{
"type": "object",
"title": "Input",
"required": [
"api_key"
],
"properties": {
"model": {
"type": "string",
"title": "Model",
"default": "v1-5-pruned-emaonly.safetensors [d7049739]",
"x-order": 2,
"description": "Model"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 25,
"x-order": 4,
"description": "Steps"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "puppies in a cloud, 4k",
"x-order": 1,
"description": "Prompt"
},
"api_key": {
"type": "string",
"title": "Api Key",
"x-order": 0,
"description": "Prodia API Key"
},
"sampler": {
"type": "string",
"title": "Sampler",
"default": "DPM++ 2M Karras",
"x-order": 6,
"description": "Sampler"
},
"cfg_scale": {
"type": "integer",
"title": "Cfg Scale",
"default": 7,
"x-order": 5,
"description": "CFG Scale"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "badly drawn",
"x-order": 3,
"description": "Negative Prompt"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}