Skip to main content
Generaldvcrn

aimlapi-embeddings

Generate text embeddings via AIMLAPI. Use for semantic search, clustering, or high-dimensional text representations with text-embedding-3-large and other models.

Stars
15
Source
dvcrn/openclaw-skills-marketplace
Updated
2026-05-29
Slug
dvcrn--openclaw-skills-marketplace--aimlapi-embeddings
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/dvcrn/openclaw-skills-marketplace/HEAD/plugins/aimlapihello--aiml-embeddings/skills/aimlapi-embeddings/SKILL.md -o .claude/skills/aimlapi-embeddings.md

Drops the SKILL.md into .claude/skills/aimlapi-embeddings.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

AIMLAPI Embeddings

Overview

Converts text into high-dimensional numerical representations (vectors) using AIMLAPI's embedding models like text-embedding-3-large.

Quick start

export AIMLAPI_API_KEY="sk-aimlapi-..."
python3 {baseDir}/scripts/gen_embeddings.py --input "Laura is a DJ."

Tasks

Generate embeddings

Use scripts/gen_embeddings.py to get vector representations of text.

python3 {baseDir}/scripts/gen_embeddings.py \
  --input "Knowledge is power." \
  --model text-embedding-3-large \
  --dimensions 1024 \
  --out-dir ./out/embeddings

References

  • references/endpoints.md: API schema and parameter details.