Skip to content

feat(deapi): add image, speech, transcription, embedding and video models - #15134

Draft
dawidope wants to merge 2 commits into
anomalyco:devfrom
deapi-ai:deapi-media-v2
Draft

dawidope wants to merge 2 commits into
anomalyco:devfrom
deapi-ai:deapi-media-v2

Conversation

@dawidope

@dawidope dawidope commented Dec 1, 2026

Copy link
Copy Markdown

Summary

Follow-up to #: the 15 media models deAPI serves on the same OpenAI-compatible API (https://oai.deapi.ai/v1).

  • 15 provider files, all v2_only base_model entries with host values only (display name, input and output types, [api.*]). v1 output is byte-identical.
  • New lab files, each with sources in its header, for open models that had none: LTX-2.3 22B Distilled, LTX-2.5 22B Distilled and LTXV 13B 0.9.8 Distilled (models/lightricks/, plus labs/lightricks/lab.toml), Chatterbox Multilingual (models/resemble-ai/), Qwen3-TTS 1.7B CustomVoice and VoiceDesign and Qwen-Image-Edit-2509 (models/alibaba/), and Z-Anime Distill 8-Step (models/seesee21/, plus labs/seesee21/lab.toml).
  • New families ltx and z-anime in packages/core/src/family.ts; packages/sdk regenerated.

This supersedes the media parts of #2604 and #2690, which were closed as stale. The feedback there is addressed:

  • every model uses base_model, with a lab file added where one was missing;
  • Qwen3-TTS is dated 2026-01-22 (January 2026, Qwen's release note);
  • Qwen-Image-Edit takes image input in both the lab file and the provider file, so it is attachment-capable;
  • the models deAPI no longer serves (WhisperLargeV3, Ltx2_19B_Dist_FP8) are gone, and generate-deapi.ts is dropped (see Notes on sync).

Disclosure: I work at deAPI.

Models

deAPI ID Base model API
Flux1schnell black-forest-labs/flux-1-schnell images
ZImageTurbo_INT8 alibaba/z-image-turbo images
ZAnimeDistill_8Step_INT8 seesee21/z-anime-distill-8-step (new) images
Flux_2_Klein_4B_BF16 black-forest-labs/flux-2-klein-4b images (generation and edits)
QwenImageEdit_Plus_NF4 alibaba/qwen-image-edit-2509 (new) images (edits)
Kokoro hexgrad/kokoro-82m speech
Chatterbox resemble-ai/chatterbox-multilingual (new) speech
Qwen3_TTS_12Hz_1_7B_CustomVoice alibaba/qwen3-tts-12hz-1.7b-customvoice (new) speech
Qwen3_TTS_12Hz_1_7B_VoiceDesign alibaba/qwen3-tts-12hz-1.7b-voicedesign (new) speech
WhisperLargeV3Ct2 openai/whisper-large-v3 transcriptions
Bge_M3_FP16 baai/bge-m3 embeddings
Ltxv_13B_0_9_8_Distilled_FP8 lightricks/ltxv-13b-0.9.8-distilled (new) videos
Ltx2_3_22B_Dist_INT8 lightricks/ltx-2.3-22b-distilled (new) videos
Ltx2_5_22B_Dist_INT8 lightricks/ltx-2.5-22b-distilled (new) videos
MiniMaxH3_33B_Turbo_INT8 minimax/MiniMax-H3 videos

Sources

Notes

  • Formats: on this API images always come back as PNG, speech as MP3 and video as MP4, so the provider files narrow the output types. Image inputs (edits and the video first frame, input_reference) use the types deAPI documents. Video takes no audio input here, so the LTX-2.x files drop audio from the input.
  • Audio in video output: MiniMax H3 results carry a synchronized audio track (deAPI's model card), so its output keeps the lab's audio. deAPI's docs don't say whether LTX-2.x results include audio, so those files claim only video/mp4.
  • Generic types in lab files: the new lab files describe open weights, which take and produce pixels and waveforms, so they keep image, audio and video; the host files carry the concrete types. Each lab file says so in its header.
  • Names: the display names are deAPI's and carry the served quantization (NF4, INT8, FP8).
  • Cost: not included. deAPI prices media per request from its parameters (resolution and steps, clip length, input length) and quotes the exact price on its native /price endpoints; the public pricing page gives example rates only. Each file says so in its header.
  • Z-Anime: a fine-tune published by an individual (SeeSee21 on Hugging Face), so its lab file sits under models/seesee21/, like models/sao10k/.
  • Sync: not included, for the same reason as in the chat PR: /v1/models needs a key, and the list depends on the account's plan.
  • Not included: models deAPI serves only on its native API (music, OCR, upscaling, background removal, video description) and partner models, which this API does not route.

Validation

  • bun validate: passes.
  • bun run v1:check <chat PR branch>: v1 output is byte-identical. It lists the new lab files as using generic modalities (see Notes) and MiniMaxH3_33B_Turbo_INT8, whose audio output comes from the lab file.
  • bun run test in packages/sdk: 25 pass.

deAPI serves chat models on an OpenAI-compatible Chat Completions API at
https://oai.deapi.ai/v1. Every model points at its lab file with
base_model and sets only host values: prices, limits and input types that
differ, reasoning effort levels, tool_choice values, structured output and
implicit caching.
…dels

Adds the 15 media models deAPI serves on its OpenAI-compatible API, all
v2_only base_model entries. New lab files for the open models that had
none: LTX-2.3, LTX-2.5 and LTXV 0.9.8 (Lightricks), Chatterbox
Multilingual, Qwen3-TTS 1.7B CustomVoice and VoiceDesign,
Qwen-Image-Edit-2509 and Z-Anime Distill 8-Step, with the ltx and z-anime
families.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant