tonyhopkins994
/
stable-materials
- Public
- 72 runs
Run tonyhopkins994/stable-materials 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 |
---|---|---|---|
prompt |
string
|
red terracotta brick wall, texture, PBR material, high quality, best quality, highres, high resolution, highly detailed, realistic, ultrarealistic, photorealistic, 4K, 8K
|
Input text prompt for material generation
|
negative_prompt |
string
|
blurry, distorted, hazy, low details, bad quality, worst quality, lowres, low resolution, ugly
|
Negative Prompt
|
tileable |
boolean
|
True
|
Whether the material is tileable
|
patched |
boolean
|
False
|
Whether the material is patched
|
image |
string
|
Input image for material generation, base64 encoded
|
|
seed |
string
|
-1
|
Random seed. Leave blank to randomize the seed
|
guidance_scale |
number
|
7.5
Min: 1 Max: 50 |
Scale for classifier-free guidance
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "string",
"title": "Seed",
"default": "-1",
"x-order": 5,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"x-order": 4,
"description": "Input image for material generation, base64 encoded"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "red terracotta brick wall, texture, PBR material, high quality, best quality, highres, high resolution, highly detailed, realistic, ultrarealistic, photorealistic, 4K, 8K",
"x-order": 0,
"description": "Input text prompt for material generation"
},
"patched": {
"type": "boolean",
"title": "Patched",
"default": false,
"x-order": 3,
"description": "Whether the material is patched"
},
"tileable": {
"type": "boolean",
"title": "Tileable",
"default": true,
"x-order": 2,
"description": "Whether the material is tileable"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "blurry, distorted, hazy, low details, bad quality, worst quality, lowres, low resolution, ugly",
"x-order": 1,
"description": "Negative Prompt"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string"
},
"title": "Output"
}