Example requests
Onlydoubao-embedding-vision, multimodal-embedding-v1, embed-english-v3.0, and embed-multilingual-v3.0 currently support embedding text and images.
curl
Images can be supplied by URL or as Base64 data. Cohere models can embed text or images separately, but cannot mix the two.In addition to images,
multimodal-embedding-v1 supports video embeddings:
Supported formats
doubao-embedding-vision supports the following image formats:
multimodal-embedding-v1 supports JPG, PNG, and BMP images, and MP4, MPEG, MPG, WEBM, AVI, FLV, MKV, and MOV videos. Check the format of your multimodal input before submitting it.
Cohere’s embed-english-v3.0 and embed-multilingual-v3.0 embedding models support only JPG and PNG images.
Size limits
Images fordoubao-embedding-vision must meet both conditions below, or the model returns an error:
- Width and height must each be between 10 and 6,000 px, inclusive.
- The aspect ratio (width/height) must be between 1/100 and 100, inclusive.
doubao-embedding-vision, each image must be no larger than 10 MB. For multimodal-embedding-v1, the limits are 3 MB per image and 10 MB per video.