Docs
Capabilities

Vision

Send images and video alongside text and get a text reply

Talos m1 takes multimodal input. You can send text, images, and video, and the model replies with text.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.ablatic.ai/v1",
    api_key="sk-ablatic-...",
)

resp = client.chat.completions.create(
    model="talos",
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "What is in this image?"},
                {
                    "type": "image_url",
                    "image_url": {"url": "https://example.com/photo.jpg"},
                },
            ],
        }
    ],
)
print(resp.choices[0].message.content)

Output is always text. The model does not generate images, audio, or video.

Scanned and photographed PDFs reach the same vision model. Send the PDF and Talos renders its pages to images when the file carries no text layer. See Files.

OpenAI surface

On /v1/chat/completions a user message can carry a list of content parts. Mix text parts with image_url parts. The image_url.url value can be a public URL or a data URL.

Anthropic surface

On /v1/messages you send image content blocks. Each block uses a source that is either base64-encoded image data or a URL.

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.ablatic.ai",
    api_key="sk-ablatic-...",
)

msg = client.messages.create(
    model="talos",
    max_tokens=512,
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "Describe this image."},
                {
                    "type": "image",
                    "source": {"type": "url", "url": "https://example.com/photo.jpg"},
                },
            ],
        }
    ],
)
print(msg.content)

Next