Skip to content

v0.15.0

Choose a tag to compare

@superlzyguy superlzyguy released this 17 Oct 02:25
· 472 commits to main since this release

Apicity v0.15.0

Breaking Changes

@apicity/kie

  • Gemini chat request schemas follow KIE's current docs (#334, #336, #337, #338, #339, #340, #343). The gemini31Pro, gemini3Pro, gemini25Pro, gemini35FlashOpenai, gemini36FlashOpenai, gemini37FlashOpenai and gemini38FlashOpenai chat schemas (Gemini 3.1 Pro, 3 Pro, 2.5 Pro, 3.5 Flash, 3.6 Flash, 3.7 Flash and 3.8 Flash) now default stream to false instead of true and no longer declare the undocumented model field. On the three Pro schemas include_thoughts now defaults to false instead of true, and reasoning_effort still defaults to "high". On the four Flash schemas include_thoughts and reasoning_effort lose their true and "high" defaults and may be undefined in the ...ChatCompletionsParsedRequest types. The provider still sends your payload unchanged, so this changes .schema.parse() output, the parsed types and apicity describe. Migration: if you send parsed output, set the fields you relied on explicitly, such as stream: true for server-sent events. Parsed types no longer type model.
  • qwen/text-to-image no longer defaults image_size to square_hd (#383). QwenTextToImageRequestSchema and modelInputSchemas["qwen/text-to-image"] follow KIE's docs and live model schema, which dropped that default. The field stays optional with the same six presets, so parsing no longer adds it. Migration: set input.image_size explicitly.
  • Removed the Gemini 2.5 Flash and Gemini 3 Flash endpoints KIE retired (#341, #342, #345): gemini25Flash.post.v1.chat.completions, gemini3Flash.post.v1.chat.completions and gemini.post.v1.models.gemini3FlashV1betamodels.streamGenerateContent. On 2026-10-15 a valid-key call to each returned KIE code 422, "The channel is not supported", and KIE no longer documents or prices the models. The createGemini25FlashProvider and createGemini3FlashProvider factories and every KieGemini25Flash* and KieGemini3Flash* schema and type, the KieGemini3FlashV1betamodels* ones included, are removed with them. Migration: move to a documented Gemini Flash endpoint, such as gemini38FlashOpenai.post.v1.chat.completions or gemini.post.v1.models.gemini38Flash.streamGenerateContent.

@apicity/cost

  • fal Seedance 2.0, 2.0 Fast and 2.5 are priced dynamically, like their US twins (#396): bytedance/seedance-2.0/{text,image,reference}-to-video, bytedance/seedance-2.0/fast/{text,image,reference}-to-video and bytedance/seedance-2.5/{text,image,reference}-to-video. fal bills 1000-token units of the output file, whose dimensions no request field fixes under the default aspect_ratio: "auto", and reference-to-video with video inputs also bills the input clips. computeEstimate now returns usd: 0 with a warning that names POST /v1/models/pricing/estimate, and resolveFalDynamicEstimate asks fal for these ids. The nine ids leave PRICING.fal, MODEL_SLUGS.fal and MODEL_DISPLAY.fal, so modelSlug("fal", id) and modelDisplay("fal", id) no longer accept them: a literal id is a type error and an untyped one throws. The kie ids keep their sd2, sd2f and sd2p5 slugs. Migration: pass fal.v1.models.pricing.estimate (with FAL_ADMIN_API_KEY) to resolveFalDynamicEstimate, or read the billed units from the x-fal-billable-units response header.

@apicity/fal

  • The nine non-US Seedance 2.0, 2.0 Fast and 2.5 request schemas follow fal's live Inputs (#397). seed is no longer declared on bytedance/seedance-2.0/{text,image,reference}-to-video, bytedance/seedance-2.0/fast/{text,image,reference}-to-video and bytedance/seedance-2.5/{text,image}-to-video, so .schema.parse() strips it there. bytedance/seedance-2.5/reference-to-video keeps seed as an integer or null. bytedance/seedance-2.5/image-to-video narrows aspect_ratio to "auto", since the output follows the input image. Typed payloads that set either field no longer compile. In the parsed types, end_user_id and end_image_url may now be null, and so may the 2.5 image- and reference-to-video prompt, which may also be undefined. Migration: drop seed from those eight payloads, and omit aspect_ratio or pass "auto" on 2.5 image-to-video.

Also new in this release (not breaking): 43 fal endpoints (#344 to #395) and kie Gemini 4 Argon chat completions (#333), listed under New below. The nine non-US Seedance schemas also take the rest of fal's live Inputs: bitrate_mode and codec on all nine, 1080p and 4k resolutions on the three 2.0 schemas, draft on the three 2.5 schemas (whose responses gain draft_id), and task on 2.5 reference-to-video. end_user_id and end_image_url accept null, 2.5 image-to-video requires only image_url, and 2.5 reference-to-video requires nothing. On 2.0 and 2.0 Fast reference-to-video, .schema.parse() now enforces two rules fal documents in its field descriptions: at most 12 files across all modalities, and audio references only beside an image or video.

New

  • fal: add Meshy 6 Lite retexture (#395)
  • fal: add Seedance 2.5 draft completion (#394)
  • fal: add Seedance 2.5 US reference-to-video (#393)
  • fal: add Seedance 2.5 US image-to-video (#392)
  • fal: add Seedance 2.5 US text-to-video (#391)
  • fal: add Seedance 2.0 US reference-to-video (#390)
  • fal: add Seedance 2.0 US image-to-video (#389)
  • fal: add Seedance 2.0 US text-to-video (#388)
  • fal: add MiniMax H3 Max 16-bit Pixel styled text-to-video (#387)
  • fal: add MiniMax H3 Max Hand Drawn styled text-to-video (#385)
  • fal: add MiniMax H3 Max Low Poly styled text-to-video (#384)
  • fal: add MiniMax H3 Max Retro Toon 70s styled text-to-video (#382)
  • fal: add MiniMax H3 Max VHS styled text-to-video (#381)
  • fal: add PixVerse VibeMV music video (#380)
  • fal: add Pixelcut Looping Video image-to-video (#378)
  • fal: add Grok Voice voice reply (#377)
  • fal: add FLUX 3 Action SO-101 robot action (#376)
  • fal: add OpenRouter Router decisions (#374)
  • fal: add Creatify Boreal text-to-video (#373)
  • fal: add VEED Clean Audio audio clean-up (#372)
  • fal: add Kling O3 Standard image-to-video (#369)
  • fal: add FLUX.2 Flex text-to-image (#368)
  • fal: add Kandinsky 6.0 Pro image-to-video (#367)
  • fal: add Kandinsky 6.0 Pro text-to-video (#366)
  • fal: add Kandinsky 6.0 Lite image-to-video (#365)
  • fal: add Kandinsky 6.0 Lite text-to-video (#364)
  • fal: add Kandinsky 6.0 VSR Lite video upscaling (#363)
  • fal: add Kandinsky 6.0 VSR video upscaling (#361)
  • fal: add MiniMax H3 Max relight (#360)
  • fal: add Vidu Q4 reference-to-video (#359)
  • fal: add Vidu Q4 image-to-video (#358)
  • fal: add Nano Banana 2.1 edit (#357)
  • fal: add Nano Banana 2.1 text-to-image (#356)
  • fal: add Mureka podcast generation (#355)
  • fal: add Mureka song generation (#354)
  • fal: add Mureka instrumental generation (#353)
  • fal: add Mureka lyrics generation (#352)
  • fal: add Mirelo SFX 2.0 video-to-video (#351)
  • fal: add Mirelo SFX 2.0 video-to-audio (#349)
  • fal: add Mirelo SFX 2.0 text-to-audio (#348)
  • fal: add Marigold V2 depth (#347)
  • fal: add Bria Guided Remove Background (#346)
  • fal: add Bria Fibo Edit 1.5 expand (#344)
  • kie: add Gemini 4 Argon OpenAI-compatible chat completions (#333)

Updated

  • cost: price KIE Qwen text-to-image and image-edit per image_size preset (#386)
  • kie: drop qwen/text-to-image's square_hd image_size default (#383)
  • cost: price KIE qwen/image-to-image per image (#379)
  • cost: clarify unverified KIE megapixel assumption (#375)
  • cost: correct fal megapixel billing estimates (#370)
  • cli: return upload tickets without downloading their targets (#350)
  • kie: align Gemini 3.8 Flash schema defaults with docs (#343)
  • kie: align Gemini 3.7 Flash schema defaults with docs (#340)
  • kie: align Gemini 3.6 Flash schema defaults with docs (#339)
  • kie: align Gemini 3.5 Flash schema defaults with docs (#338)
  • kie: align Gemini 2.5 Pro schema defaults with docs (#337)
  • kie: align Gemini 3 Pro schema defaults with docs (#336)
  • kie: align Gemini 3.1 Pro schema defaults with docs (#334)

Published Packages

  • @apicity/alibaba@0.15.0
  • @apicity/anthropic@0.15.0
  • @apicity/b2@0.15.0
  • @apicity/binance@0.15.0
  • @apicity/cli@0.15.0
  • @apicity/cost@0.15.0
  • @apicity/dolthub@0.15.0
  • @apicity/dropbox@0.15.0
  • @apicity/elevenlabs@0.15.0
  • @apicity/fal@0.15.0
  • @apicity/fireworks@0.15.0
  • @apicity/free-media-upload@0.15.0
  • @apicity/google@0.15.0
  • @apicity/googleflow@0.15.0
  • @apicity/kie@0.15.0
  • @apicity/kimicoding@0.15.0
  • @apicity/meta@0.15.0
  • @apicity/openai@0.15.0
  • @apicity/openf1@0.15.0
  • @apicity/openligadb@0.15.0
  • @apicity/polymarket@0.15.0
  • @apicity/quo@0.15.0
  • @apicity/s3@0.15.0
  • @apicity/simplefunctions@0.15.0
  • @apicity/telegram@0.15.0
  • @apicity/thesportsdb@0.15.0
  • @apicity/x@0.15.0
  • @apicity/xai@0.15.0
  • @apicity/youtube@0.15.0
  • @apicity/zaicoding@0.15.0