> For the complete documentation index, see [llms.txt](https://docs.viesus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.viesus.com/reference/cloud-api.md).

# Cloud API

The VIESUS Cloud API is a hosted GraphQL service for image and PDF enhancement. No server to manage, no GUID to bind, no GPU to procure — upload, enhance, download. Billed per image via a credit system, with a free tier for evaluation.

Use the Cloud API when you don't want to operate your own infrastructure, when you need on-demand AI upscaling without a local GPU, or to add VIESUS to a frontend that already calls other cloud APIs.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>Overview</h4></td><td>What the Cloud API offers, when to use it vs on-premise, and the GraphQL endpoint.</td><td><a href="/pages/R7yP5JYM8pP1CRGO9fBF">/pages/R7yP5JYM8pP1CRGO9fBF</a></td></tr><tr><td><h4>Authentication</h4></td><td>API keys, header conventions, and how to manage authentication for production.</td><td><a href="/pages/SeDEJIMmkqUJqtoZydAA">/pages/SeDEJIMmkqUJqtoZydAA</a></td></tr><tr><td><h4>Uploading</h4></td><td>Multipart upload, file size limits, supported formats, and signed URLs.</td><td><a href="/pages/YStmwlFVSp7YEMuZzUuE">/pages/YStmwlFVSp7YEMuZzUuE</a></td></tr><tr><td><h4>Enhance Images</h4></td><td>The image enhancement mutation: parameters, options, response shape, async behavior.</td><td><a href="/pages/dNcyNzvjYOlyIs34bcA5">/pages/dNcyNzvjYOlyIs34bcA5</a></td></tr><tr><td><h4>Enhance PDFs</h4></td><td>PDF enhancement endpoint, page selection, and result retrieval.</td><td><a href="/pages/ARSx2nI9KyTrbAFIZ1wH">/pages/ARSx2nI9KyTrbAFIZ1wH</a></td></tr><tr><td><h4>Credits</h4></td><td>How credits are consumed, free tier limits, and how to top up.</td><td><a href="/pages/44UH1fe15pk9Yf4vW7lc">/pages/44UH1fe15pk9Yf4vW7lc</a></td></tr><tr><td><h4>Webhooks</h4></td><td>Async notification on enhancement completion — payload format, retries, and signing.</td><td><a href="/pages/JKgPWQY1uoMhZiCOkdGp">/pages/JKgPWQY1uoMhZiCOkdGp</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.viesus.com/reference/cloud-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
