You're looking at a specific version of this model. Jump to the model overview.
hvision-nku /storydiffusion:b58eb4bd
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 |
---|---|---|---|
sd_model |
string
(enum)
|
Unstable
Options: Unstable, RealVision |
Choose a model
|
ref_image |
string
|
Reference image for the character
|
|
character_description |
string
|
a man, wearing black suit
|
General description of the character. If ref_image above is provided, making sure to follow the class word you want to customize with the trigger word 'img', such as: 'man img' or 'woman img' or 'girl img'
|
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
|
Describe things you do not want to see in the output
|
comic_description |
string
|
at home, read new paper #at home, The newspaper says there is a treasure house in the forest.
on the road, near the forest
[NC] The car on the road, near the forest #He drives to the forest in search of treasure.
[NC]A tiger appeared in the forest, at night
very frightened, open mouth, in the forest, at night
running very fast, in the forest, at night
[NC] A house in the forest, at night #Suddenly, he discovers the treasure house!
in the house filled with treasure, laughing, at night #He is overjoyed inside the house.
|
Comic Description. Each frame is divided by a new line. Only the first 10 prompts are valid for demo speed! For comic_description NOT using ref_image: (1) Support Typesetting Style and Captioning. By default, the prompt is used as the caption for each image. If you need to change the caption, add a '#' at the end of each line. Only the part after the '#' will be added as a caption to the image. (2) The [NC] symbol is used as a flag to indicate that no characters should be present in the generated scene images. If you want do that, prepend the '[NC]' at the beginning of the line.
|
style_name |
string
(enum)
|
Japanese Anime
Options: (No style), Japanese Anime, Cinematic, Disney Charactor, Photographic, Comic book, Line art |
Style template
|
comic_style |
string
(enum)
|
Classic Comic Style
Options: Four Pannel, Classic Comic Style |
Select the comic style for the combined comic
|
style_strength_ratio |
integer
|
20
Min: 15 Max: 50 |
Style strength of Ref Image (%), only used if ref_image is provided
|
image_width |
integer
(enum)
|
768
Options: 256, 288, 320, 352, 384, 416, 448, 480, 512, 544, 576, 608, 640, 672, 704, 736, 768, 800, 832, 864, 896, 928, 960, 992, 1024 |
Width of output image
|
image_height |
integer
(enum)
|
768
Options: 256, 288, 320, 352, 384, 416, 448, 480, 512, 544, 576, 608, 640, 672, 704, 736, 768, 800, 832, 864, 896, 928, 960, 992, 1024 |
Height of output image
|
num_steps |
integer
|
50
Min: 25 Max: 50 |
Number of sample steps
|
guidance_scale |
number
|
5
Min: 0.1 Max: 10 |
Scale for classifier-free guidance
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
sa32_setting |
number
|
0.7
Max: 1 |
The degree of Paired Attention at 32 x 32 self-attention layers
|
sa64_setting |
number
|
0.7
Max: 1 |
The degree of Paired Attention at 64 x 64 self-attention layers
|
num_ids |
integer
|
3
|
Number of id images in total images. This should not exceed total number of line-separated prompts
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'properties': {'comic': {'format': 'uri', 'title': 'Comic', 'type': 'string'},
'individual_images': {'items': {'format': 'uri',
'type': 'string'},
'title': 'Individual Images',
'type': 'array'}},
'required': ['comic', 'individual_images'],
'title': 'ModelOutput',
'type': 'object'}