Back to models
dashscope

Text Embedding V4

text-embedding-v4
dashscope0 contextFree

Text Embedding V4 is a text embedding model for converting text into vector representations.

Total Context0
PricingFree

Providers for Text Embedding V4

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

dashscope
Total Context0
PricingFree

Sample code and API for Text Embedding V4

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

ResponsesOpenAI compatible

Call the standard operation supported by this model.

/v1/responses
curl 'https://api.anyint.ai/v1/responses' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
  "model": "text-embedding-v4",
  "input": "Describe a calm futuristic city at sunrise."
}'