appnation
/
text2image
- Public
- 1.7K runs
Run appnation/text2image 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
|
dark shot, front shot, closeup photo of a 25 y.o latino man, perfect eyes, natural skin, skin moles, looks at viewer, cinematic shot
|
Input prompt
|
negative_prompt |
string
|
full body, teeth, hands, long head, (nsfw, porn, nudity, naked), (cartoon, drawing), old, low quality, disfigured, bad anatomy, mutated, twisted fingers, multiple people, text, writing
|
Negative Input prompt
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
width |
integer
|
1024
|
Width of output image
|
height |
integer
|
1024
|
Height of output image
|
lora_weights |
string
|
Replicate LoRA weights to use. Leave blank to use the default weights.
|
{
"type": "object",
"title": "Input",
"properties": {
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"x-order": 3,
"description": "Width of output image"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"x-order": 4,
"description": "Height of output image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "dark shot, front shot, closeup photo of a 25 y.o latino man, perfect eyes, natural skin, skin moles, looks at viewer, cinematic shot",
"x-order": 0,
"description": "Input prompt"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Number of images to output."
},
"lora_weights": {
"type": "string",
"title": "Lora Weights",
"x-order": 5,
"description": "Replicate LoRA weights to use. Leave blank to use the default weights."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "full body, teeth, hands, long head, (nsfw, porn, nudity, naked), (cartoon, drawing), old, low quality, disfigured, bad anatomy, mutated, twisted fingers, multiple people, text, writing",
"x-order": 1,
"description": "Negative Input 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",
"format": "uri"
},
"title": "Output"
}