datong-new
/
adstyle
- Public
- 466 runs
Run datong-new/adstyle 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 |
---|---|---|---|
product |
string
|
Upload product image
|
|
target |
string
|
Upload target image
|
|
prompt |
string
|
A 4k, highly detailed, luxurious cosmetic product photoshoot. The background features soft, pastel colors and delicate flower petals. Gentle, radiant lighting highlights the product, high quality, cinematic. ((Keep the product unchanged!))
|
prompt to generate new image
|
negative_prompt |
string
|
unsuitable, nude, watermark, glitch, noise, bad, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly, worst quality,low quality, glare
|
negative prompt to generate new image
|
seed |
integer
|
0
Max: 10000000 |
seed for generating new image
|
{
"type": "object",
"title": "Input",
"required": [
"product",
"target"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 10000000,
"minimum": 0,
"x-order": 4,
"description": "seed for generating new image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A 4k, highly detailed, luxurious cosmetic product photoshoot. The background features soft, pastel colors and delicate flower petals. Gentle, radiant lighting highlights the product, high quality, cinematic. ((Keep the product unchanged!))",
"x-order": 2,
"maxLength": 1024,
"minLength": 1,
"description": "prompt to generate new image"
},
"target": {
"type": "string",
"title": "Target",
"format": "uri",
"x-order": 1,
"description": "Upload target image"
},
"product": {
"type": "string",
"title": "Product",
"format": "uri",
"x-order": 0,
"description": "Upload product image"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "unsuitable, nude, watermark, glitch, noise, bad, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly, worst quality,low quality, glare",
"x-order": 3,
"maxLength": 1024,
"minLength": 1,
"description": "negative prompt to generate new image"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri"
}
}
}