IONOS Cloud (AI Model Hub) icon

IONOS Cloud (AI Model Hub)

Interact with IONOS Cloud AI Model Hub API

OpenAI Compatible → Create Embeddings

AI-generated

Summary

Create embedding vectors for given text inputs using an OpenAI-compatible embedding model from IONOS Cloud AI Model Hub.

Inputs

  • Model (required) — Select the embedding model ID to use; the list is fetched live from the IONOS API.
  • Input (required) — Text to create embeddings for; can be a single string or multiple texts as a comma-separated list.
  • Include Response Headers — Optionally include HTTP response headers and status code in the output.

Output shape

a JSON object with embedding vectors corresponding to the input text(s). If 'Include Response Headers' is enabled, output includes 'statusCode', 'headers', and 'body' fields.

The input text can be a single string or multiple comma-separated strings; they will be sent as an array if multiple. The model options list is dynamically loaded from the IONOS API endpoint. If response headers inclusion is enabled, the original response body is nested under the 'body' key alongside headers and statusCode.

Links

Discussion