Location>code7788 >text

How to convert an image to a vector? (Called via the DashScope API)

Popularity:493 ℃/2024-09-12 11:24:53

This article describes how theModeling Service DashScopecommander-in-chief (military)Image to vector conversion , and into the vector retrieval service DashVector for vector retrieval.

Modeling Service DashScope, through a flexible and easy-to-use model API service, the capabilities of various modal models are made easily available to AI developers. Through the Spirit Accumulation API, developers can not only directly integrate the powerful capabilities of large models, but also fine-tune the training of models to achieve model customization.

pre-conditions

  • DashVector

    • Cluster created
    • API-KEY has been obtained
    • The latest version of the SDK has been installed
  • DashScope:

    • Service enabled and API-KEY obtained
    • The latest version of the SDK has been installed

ONE-PEACE multimodal vector characterization

ONE-PEACEis a graphic-audio-trimodal universal representation model that also converts pictures to vectors via ONE-PEACE.

Reference for details:Generating vectors from a mixture of modes ------ ONE-PEACE Multimodal Vector Characterization