Model reference · open weights
PowerPaint-stable-diffusion-inpainting is an open-weight image model from Sanster. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | Sanster |
|---|---|
| Type | Image models |
| Task | Image edit |
| Parameters (lead) | 860M |
| Runs with | diffusers |
| Released | 2023-12-25 |
| Popularity | 1k downloads / month |
| Licence | Unknown |
About
Model from: https://huggingface.co/JunhaoZhuang/PowerPaint-v1
Based on runwayml/stable-diffusion-inpainting, the unet has been replaced with PowerPaint's unet,
and the token embedding (P_ctxt, P_shape, P_obj) newly added by PowerPaint has been integrated into the text_encoder.
Download python file at here, then run:
python3 demo.py
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys powerpaint-stable-diffusion-inpainting for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (powerpaint-stable-diffusion-inpainting below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"powerpaint-stable-diffusion-inpainting","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.