georgedavila / cog-storydiffusion-comics

  • Public
  • 15 runs
  • L40S
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run georgedavila/cog-storydiffusion-comics using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "georgedavila/cog-storydiffusion-comics:761766d076bb8b45f58c4dddb04be7c13a37d9a799a8e04e2e2e3f5f66bfa663",
    input={
        "sa32_": 0.5,
        "sa64_": 0.5,
        "seed_": 1,
        "style": "Photographic",
        "G_width": 768,
        "G_height": 768,
        "num_steps": 50,
        "comic_type": "Classic Comic Style",
        "id_length_": 3,
        "model_type": "Using Ref Images",
        "prompt_array": "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",
        "general_prompt": "a man img, wearing a tuxedo",
        "guidance_scale": 5,
        "negative_prompt": "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",
        "Ip_Adapter_Strength": 0.7,
        "style_strength_ratio": 20
    }
)
print(output)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.