> 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

VIESUS Cloud GraphQL API reference — authentication, uploading, image and PDF enhancement, credits, and webhooks.

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="/reference/cloud-api/overview.md">Overview</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="/reference/cloud-api/authentication.md">Authentication</a></td></tr><tr><td><h4>Uploading</h4></td><td>Multipart upload, file size limits, supported formats, and signed URLs.</td><td><a href="/reference/cloud-api/uploading.md">Uploading</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="/reference/cloud-api/image-enhancement.md">Enhance Images</a></td></tr><tr><td><h4>Enhance PDFs</h4></td><td>PDF enhancement endpoint, page selection, and result retrieval.</td><td><a href="/reference/cloud-api/pdf-enhancement.md">Enhance PDFs</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="/reference/cloud-api/credits.md">Credits</a></td></tr><tr><td><h4>Webhooks</h4></td><td>Async notification on enhancement completion — payload format, retries, and signing.</td><td><a href="/reference/cloud-api/webhooks.md">Webhooks</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
