datong-new
/
ad-maker
- Public
- 189 runs
Run datong-new/ad-maker 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
|
Upload image
|
|
prompt |
string
|
8k,raw photo,masterpiece,best quality,photorealistic, professional, 4k, highly detailed (mask is product), in a living room
|
prompt to generate new image
|
negative_prompt |
string
|
unsuitable,big product,drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly,worst quality,low quality,
|
negative prompt to generate new image
|
light_prompt |
string
|
Incandescent light,clear light, transparency, photography grade, realism, transparency,
|
prompt for ic-light
|
light_negative_prompt |
string
|
blur,low quality,
|
negative prompt for ic-light
|
seed |
integer
|
0
Max: 10000000 |
seed for generating new image
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 10000000,
"minimum": 0,
"x-order": 5,
"description": "seed for generating new image"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Upload image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "8k,raw photo,masterpiece,best quality,photorealistic, professional, 4k, highly detailed (mask is product), in a living room",
"x-order": 1,
"maxLength": 1024,
"minLength": 1,
"description": "prompt to generate new image"
},
"light_prompt": {
"type": "string",
"title": "Light Prompt",
"default": "Incandescent light,clear light, transparency, photography grade, realism, transparency,",
"x-order": 3,
"maxLength": 1024,
"minLength": 1,
"description": "prompt for ic-light"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "unsuitable,big product,drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly,worst quality,low quality,",
"x-order": 2,
"maxLength": 1024,
"minLength": 1,
"description": "negative prompt to generate new image"
},
"light_negative_prompt": {
"type": "string",
"title": "Light Negative Prompt",
"default": "blur,low quality,",
"x-order": 4,
"maxLength": 1024,
"minLength": 1,
"description": "negative prompt for ic-light"
}
}
}
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",
"iclight_image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri"
},
"iclight_image": {
"type": "string",
"title": "Iclight Image",
"format": "uri"
}
}
}