jyoung105
/
janus
- Public
- 4 runs
Run jyoung105/janus 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
|
Input prompt, text what you want to put on.
|
|
width |
integer
|
1024
Min: 1 Max: 2048 |
Width of an output.
|
height |
integer
|
1024
Min: 1 Max: 2048 |
Height of an output.
|
num_images |
integer
|
1
Min: 1 Max: 3 |
Number of outputs.
|
guidance_scale |
number
|
5
Max: 10 |
Scale for classifier-free guidance.
|
temperature |
number
|
1
Max: 1 |
Scale for modulating the next token probabilities
|
seed |
integer
|
Random seed. Leave blank to randomize the seed.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed."
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 1,
"description": "Width of an output."
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 2,
"description": "Height of an output."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Input prompt, text what you want to put on."
},
"num_images": {
"type": "integer",
"title": "Num Images",
"default": 1,
"maximum": 3,
"minimum": 1,
"x-order": 3,
"description": "Number of outputs."
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "Scale for modulating the next token probabilities"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 5,
"maximum": 10,
"minimum": 0,
"x-order": 4,
"description": "Scale for classifier-free guidance."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}