Actions11
- 💬 对话 / Chat Actions
- 🧠 深度思考 / Thinking Actions
- 🖼️ 图片 / Image Actions
- 🎬 视频 / Video Actions
- 📐 向量 / Embeddings Actions
- ✨ 提示词 / Prompt Actions
- 👗 虚拟试穿 / Virtual Try-On Actions
📐 向量 / Embeddings → 生成 / Generate
AI-generatedSummary
Generate vector embeddings for the input text using the selected embedding model.
Inputs
- model (required) — Embedding model to use. Options are loaded from the API; default is text-embedding-3-small.
- customModel (required) — Custom model ID used when model is set to '__custom'.
- input (required) — The text to vectorize.
- additionalOptions — Additional options for the request.
Output shape
An object containing the embedding result.
If 'simplify' is true (default), the output includes success, operation, model, embedding array, dimensions, and processing time. If 'simplify' is false, usage and raw response are also included.
Examples
Example 1: Simple embedding generation
model: text-embedding-3-small, input: 'Hello world', additionalOptions: {simplify:true}