Skip to content

Proposal: Add Decart provider to ai-sdk #9158

@AdirAmsalem

Description

@AdirAmsalem

Description

About Decart AI

Decart AI is an AI company focused on real-time generative experiences.
We build high-performance generative image and video models that are both fast and efficient.

We support multiple generative tasks, including:

  • text-to-image
  • image-to-image
  • image-to-video
  • text-to-video
  • video-to-video

The full list of models and capabilities is available in our documentation.

Current status

We provide our own JavaScript SDK: @decartai/sdk.
We’d love to also contribute a 1st-party provider for ai-sdk.

I’ve already started experimenting and created @ai-sdk/decart with an initial text-to-image implementation (PR here) and it looks promising.

Proposal

I’d like to discuss the best path to make this official and have your blessing (per add-new-provider.md) if you think it makes sense.

Example
import { decart } from '@ai-sdk/decart';
import { experimental_generateImage as generateImage } from 'ai';

await generateImage({
  model: decart.image('lucy-pro-t2i'),
  prompt: 'Three dogs playing in the snow',
});

Since we’re very focused on video, we’d also love to help push vercel/ai#7541 if needed.

AI SDK Version

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions