For the complete documentation index, see llms.txt. This page is also available as Markdown.

Text Generation (Vision)

Vision models behave similarly to text models, but they can accept and interpret images as well.

Models available

Models that accept images alongside text.

Model ids, current prices, context lengths and per-tier limits are in the console catalog, which is generated from the same records that bill your requests:

console.meganova.ai/serverless — filter by Vision

The same list is available programmatically from GET /v1/models, including pricing and capability flags.

Using the Models

  1. Go to the MegaNova website.

  2. Log in, and ensure you have enough credits.

  3. Click on the "Inference Models" tab and select your model.

  4. Select your parameters, enter your text (and image, if applicable) and just press Enter!

The parameters to tweak are the same as in Text Generation, with the addition of the following:

  • Image: The image to be processed by the model.

Through API Endpoint

This option is to use our API endpoint directly in your projects. Below are some code snippets to get you started!

NOTE: Don't forget to use your API key. See Authentication for details on authentication and Create API Key for managing keys.

Using cURL

Using Python

Using JavaScript

Selecting a Model

To specify the desired model, use this mapping for the model_name:

  • Qwen3-VL-Plus: Qwen/Qwen3-VL-Plus

  • Qwen3-VL-Flash: Qwen/Qwen3-VL-Flash

  • Qwen2.5-VL-32B-Instruct: Qwen/Qwen2.5-VL-32B-Instruct

Response Example

A successful generation response (non-streaming) will contain a chat.completion object, and should look like this:

As is the case with text generation, this represents the entire generated response, and setting the stream parameter to True will return the response in chunks:

with the collection of chunks forming the entire response.

Feel free to explore refer to the API Reference for more details.

Last updated