Titan Multimodal Embeddings G1
Amazon Titan Multimodal Embeddings G1 embeds text, images, or text and image together into a shared vector space for multimodal search and recommendation.
Pricing
- Input
- $0.84per 1M tokens
- Image input
- <$0.0001per image
OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.
Terminal
curl https://deference.si/v1/embeddings \
-H "Authorization: Bearer $DEFERENCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon/titan-embed-image-v1",
"input": "The quick brown fox"
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://deference.si/v1", api_key=os.environ["DEFERENCE_API_KEY"])
result = client.embeddings.create(model="amazon/titan-embed-image-v1", input="The quick brown fox")
print(len(result.data[0].embedding))import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://deference.si/v1", apiKey: process.env.DEFERENCE_API_KEY });
const result = await client.embeddings.create({ model: "amazon/titan-embed-image-v1", input: "The quick brown fox" });
console.log(result.data[0].embedding.length);