amrha/test
img2img & cog & diffusers test
Run amrha/test 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 |
|---|---|---|---|
| image |
string
|
https://replicate.delivery/pbxt/JGOy8ujBvolu3MsUoPw7i4oyTdb2BeuM2qPcF7UMH4cqPdhj/sketch-mountains-input.jpg
|
Input image
|
| prompt |
string
|
A painting in the style of van gogh.
|
Guidance prompt for the image transformation
|
| strength |
number
|
0.75
|
None
|
| guidance_scale |
number
|
7.5
|
None
|
| seed |
integer
|
1024
|
None
|
| num_inference_steps |
integer
|
50
|
None
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 1024,
"x-order": 4
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"default": "https://replicate.delivery/pbxt/JGOy8ujBvolu3MsUoPw7i4oyTdb2BeuM2qPcF7UMH4cqPdhj/sketch-mountains-input.jpg",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A painting in the style of van gogh.",
"x-order": 1,
"description": "Guidance prompt for the image transformation"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.75,
"x-order": 2
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"x-order": 3
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"x-order": 5
}
}
}
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"
}