Loading…
Loading…
Makes a photo larger and sharper. By Pruna, on GridPup at $0.006 per image, paid from your GridPup balance per request. No subscription.
| 10 images | $0.06 |
|---|---|
| 1,000 images | $6.04 |
GridPup's API speaks OpenAI's format: use any OpenAI SDK with the base URL https://api.gridpup.com/v1/ai and a GridPup API key with Also use AI models. The answer tells you what it cost. More in the API docs.
from openai import OpenAI
client = OpenAI(base_url="https://api.gridpup.com/v1/ai", api_key="gp_live_…")
r = client.images.generate(
model="pruna/p-image-upscale",
prompt="A red fox in fresh snow, photo",
)
print(r.data[0].url)base_url to https://api.gridpup.com/v1/ai and the model to pruna/p-image-upscale.