georgedavila
/
cog-storydiffusion-comics
- Public
- 11 runs
Run georgedavila/cog-storydiffusion-comics 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 |
---|---|---|---|
input_image |
string
|
None
|
|
style |
string
|
Photographic
|
Style template: '(No style)', 'Japanese Anime', 'Cinematic', 'Disney Character', 'Photographic', 'Comic book', 'Line art'
|
style_strength_ratio |
integer
|
20
|
Style strength of Ref Image (%)
|
model_type |
string
(enum)
|
Using Ref Images
Options: Only Using Textual Description, Using Ref Images |
Control type of the Character
|
general_prompt |
string
|
a man img, wearing a tuxedo
|
Textual Description for Character
|
negative_prompt |
string
|
bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs
|
Negative Prompt
|
prompt_array |
string
|
wake up in the bed
have breakfast
is on the road, go to company
work in the company
Take a walk next to the company at noon
lying in bed at night
|
Comic Description (each line corresponds to a frame).
|
Ip_Adapter_Strength |
number
|
0.7
|
Ip Adapter Strength
|
sa32_ |
number
|
0.5
|
The degree of Paired Attention at 32 x 32 self-attention layers
|
sa64_ |
number
|
0.5
|
The degree of Paired Attention at 64 x 64 self-attention layers
|
id_length_ |
integer
|
3
|
Number of id images in total images
|
seed_ |
integer
|
1
|
Seed
|
num_steps |
integer
|
50
|
Number of sample steps
|
G_height |
integer
|
768
|
Height
|
G_width |
integer
|
768
|
Width
|
comic_type |
string
(enum)
|
Classic Comic Style
Options: Classic Comic Style, No typesetting |
Typesetting Style
|
guidance_scale |
integer
|
5
|
Guidance scale
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"sa32_": {
"type": "number",
"title": "Sa32 ",
"default": 0.5,
"x-order": 8,
"description": "The degree of Paired Attention at 32 x 32 self-attention layers"
},
"sa64_": {
"type": "number",
"title": "Sa64 ",
"default": 0.5,
"x-order": 9,
"description": "The degree of Paired Attention at 64 x 64 self-attention layers"
},
"seed_": {
"type": "integer",
"title": "Seed ",
"default": 1,
"x-order": 11,
"description": "Seed"
},
"style": {
"type": "string",
"title": "Style",
"default": "Photographic",
"x-order": 1,
"description": "Style template: '(No style)', 'Japanese Anime', 'Cinematic', 'Disney Character', 'Photographic', 'Comic book', 'Line art'"
},
"G_width": {
"type": "integer",
"title": "G Width",
"default": 768,
"x-order": 14,
"description": "Width"
},
"G_height": {
"type": "integer",
"title": "G Height",
"default": 768,
"x-order": 13,
"description": "Height"
},
"num_steps": {
"type": "integer",
"title": "Num Steps",
"default": 50,
"x-order": 12,
"description": "Number of sample steps"
},
"comic_type": {
"enum": [
"Classic Comic Style",
"No typesetting"
],
"type": "string",
"title": "comic_type",
"description": "Typesetting Style",
"default": "Classic Comic Style",
"x-order": 15
},
"id_length_": {
"type": "integer",
"title": "Id Length ",
"default": 3,
"x-order": 10,
"description": "Number of id images in total images"
},
"model_type": {
"enum": [
"Only Using Textual Description",
"Using Ref Images"
],
"type": "string",
"title": "model_type",
"description": "Control type of the Character",
"default": "Using Ref Images",
"x-order": 3
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0
},
"prompt_array": {
"type": "string",
"title": "Prompt Array",
"default": "wake up in the bed\nhave breakfast\nis on the road, go to company\nwork in the company\nTake a walk next to the company at noon\nlying in bed at night",
"x-order": 6,
"description": "Comic Description (each line corresponds to a frame)."
},
"general_prompt": {
"type": "string",
"title": "General Prompt",
"default": "a man img, wearing a tuxedo",
"x-order": 4,
"description": "Textual Description for Character"
},
"guidance_scale": {
"type": "integer",
"title": "Guidance Scale",
"default": 5,
"x-order": 16,
"description": "Guidance scale"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
"x-order": 5,
"description": "Negative Prompt"
},
"Ip_Adapter_Strength": {
"type": "number",
"title": "Ip Adapter Strength",
"default": 0.7,
"x-order": 7,
"description": "Ip Adapter Strength"
},
"style_strength_ratio": {
"type": "integer",
"title": "Style Strength Ratio",
"default": 20,
"x-order": 2,
"description": "Style strength of Ref Image (%)"
}
}
}
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"
}