Actions14
- Product Management Actions
- Product Management > Consumptions Actions
- Results Actions
- Usage > V1 > Images Actions
- Usage > V1 > Models Actions
- Usage > V1 > Open AI Actions
- Usage > V2 > Open AI Actions
Usage > V2 > Open AI → Create Embeddings
AI-generatedSummary
Create embeddings for input text using Infomaniak AI Tools
Inputs
- authentication (required) — Authentication method: OAuth2 or API Key
- productId (required) — Infomaniak AI Tools product identifier (path_product_id)
- input (required) — Text to embed; can be a string, array of strings, array of token integers, or array of token arrays
- model (required) — Model name to use for embedding
- dimensions — Number of dimensions for the output embeddings (0 = model default)
- encodingFormat — Format of returned embeddings: 'float' (default) or 'base64'
- returnFullResponse — If true, returns the full API response; otherwise returns only the embeddings data
Output shape
Array of n8n items; each item's JSON contains either the embedding vector (or base64 string) per input, or the full response object when returnFullResponse is true
Sends a POST request to /2/ai/{product_id}/openai/v1/embeddings with body fields input and model, plus optional dimensions and encodingFormat via bodyParameters collection.
Examples
Example 1: Embed a single sentence
Set authentication to OAuth2, productId to your AI Tools ID, input to 'Hello world', model to 'text-embedding-ada-002', leave dimensions and encodingFormat at defaults, returnFullResponse false.