datong-new / adstyle

  • Public
  • 466 runs
  • L40S

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 datong-new/adstyle using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "datong-new/adstyle:46192d099c34b715cf823bc7703405598d304b1818b9a7e157e49a3209bcbe5f",
    input={
        "seed": 0,
        "prompt": "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!))",
        "negative_prompt": "unsuitable, nude, watermark, glitch, noise, bad, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly, worst quality,low quality, glare"
    }
)

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.