# Introduction

ViralAPI provides high-quality AI image generation services with async task processing.

## Available Models

| Model          | Identifier                   | Features                                   |
| -------------- | ---------------------------- | ------------------------------------------ |
| NanoBanana     | `gemini-2.5-flash-image`     | Fast, efficient batch generation           |
| NanoBanana Pro | `gemini-3-pro-image-preview` | High quality, supports 1K/2K/4K resolution |

## Capabilities

* **Text to Image** — Generate images from text prompts
* **Image Edit** — Transform existing images based on text instructions
* **Multiple Aspect Ratios** — Support for 11 aspect ratio options
* **Async Processing** — Non-blocking task creation with polling-based result retrieval

## Quick Links

* [Getting Started](/guides/getting-started.md)
* [Authentication](/guides/authentication.md)
* [Async Workflow](/guides/async-workflow.md)
* [API Reference (OpenAPI)](https://github.com/mikaizhu/viral-api-docs/blob/english/openapi.yaml)

## Base URL

```
https://viralapi.ai
```

## Support

* Get your API Key: <https://viralapi.ai/api-key>


---

# Agent Instructions: 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:

```
GET https://docs.viralapi.ai/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
