Instructions to use stabilityai/stable-diffusion-3-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use stabilityai/stable-diffusion-3-medium with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
How to set image SIZE
can anyone help me how to configure json payload to generate 1280X720 image.
{
"inputs": "A magical forest illuminated by the soft glow of fireflies at dusk. In the foreground, a young adventurer in medieval-inspired attire, with wide eyes and a curious smile, stands beside a gentle, mystical creature, like a small dragon with shimmering scales. The background shows towering, whimsical trees with twisted roots and sparkling leaves, creating a dreamy and enchanting atmosphere. The lighting is warm, with golden and pink hues casting a soft, magical glow on the scene, similar to the style of classic Disney animated films.",
"parameters": {
"target_size": {"width": 1280, "height": 720}
}
}