Skip to main content
POST
Chat Completions Nova
Product: Visual Intelligence — Video Model APIs (atomic) Use case: Call a Video Language Model (Gemini / Nova / Qwen) directly with your own prompt. Full control over model selection, prompt, and parameters. For ready-made tasks (no prompt needed), see Video Task APIs. Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
This endpoint allows you to generate chat completions with text, video, and image inputs using Nova model.
Endpoint: POST https://mavi-backend.memories.ai/serve/api/v2/vu/chat/completionsVideo Understanding (VLM) endpoints use the /vu path prefix. Image Understanding (ILM) endpoints use /iu instead.

Supported Models

All models require the nova: prefix when used in the model parameter (e.g., nova:us.amazon.nova-lite-v1:0).

Amazon Nova Models

Pricing Notes:
  • All prices are per 1,000,000 (1M) tokens
  • Nova Premier offers the highest quality for complex multimodal tasks
  • Nova Pro provides balanced performance and cost
  • Nova 2 Lite and Nova Lite are optimized for cost-effective operations
  • Remember to include the nova: prefix: "model": "nova:us.amazon.nova-lite-v1:0"

Request Body

Code Example

Response

Returns the chat completion response.

Response Parameters

Authorizations

Authorization
string
header
required

Body

application/json
model
string
required

The model to use (e.g., nova:amazon.nova-lite-v1:0)

Example:

"nova:amazon.nova-lite-v1:0"

messages
object[]
required

Array of message objects

temperature
number
default:1

Controls randomness: 0.0-2.0, higher = more random

Required range: 0 <= x <= 2
max_tokens
integer
default:1000

Maximum number of tokens to generate

top_p
number
default:1

Nucleus sampling: 0.0-1.0

Required range: 0 <= x <= 1
frequency_penalty
number
default:0

Reduces repetition of frequent tokens: -2.0 to 2.0

Required range: -2 <= x <= 2
presence_penalty
number
default:0

Increases likelihood of new topics: -2.0 to 2.0

Required range: -2 <= x <= 2
n
integer
default:1

Number of completions to generate

stream
boolean
default:false

Whether to stream the response

stop

Stop sequences

extra_body
object

Response

200 - application/json

Chat completion response

id
string

Unique identifier for the chat completion

Example:

"chatcmpl_705304384e4143db9e162cda30295762"

object
string

Object type, always "chat.completion"

Example:

"chat.completion"

created
integer

Unix timestamp of when the completion was created

Example:

1767098064

model
string

The model used for the completion

Example:

"nova:amazon.nova-lite-v1:0"

choices
object[]

Array of completion choices

usage
object

Token usage information