Repository navigation
v0.15.0
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,gemini37FlashOpenaiandgemini38FlashOpenaichat schemas (Gemini 3.1 Pro, 3 Pro, 2.5 Pro, 3.5 Flash, 3.6 Flash, 3.7 Flash and 3.8 Flash) now defaultstreamtofalseinstead oftrueand no longer declare the undocumentedmodelfield. On the three Pro schemasinclude_thoughtsnow defaults tofalseinstead oftrue, andreasoning_effortstill defaults to"high". On the four Flash schemasinclude_thoughtsandreasoning_effortlose theirtrueand"high"defaults and may beundefinedin the...ChatCompletionsParsedRequesttypes. The provider still sends your payload unchanged, so this changes.schema.parse()output, the parsed types andapicity describe. Migration: if you send parsed output, set the fields you relied on explicitly, such asstream: truefor server-sent events. Parsed types no longer typemodel. qwen/text-to-imageno longer defaultsimage_sizetosquare_hd(#383).QwenTextToImageRequestSchemaandmodelInputSchemas["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: setinput.image_sizeexplicitly.- 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.completionsandgemini.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. ThecreateGemini25FlashProviderandcreateGemini3FlashProviderfactories and everyKieGemini25Flash*andKieGemini3Flash*schema and type, theKieGemini3FlashV1betamodels*ones included, are removed with them. Migration: move to a documented Gemini Flash endpoint, such asgemini38FlashOpenai.post.v1.chat.completionsorgemini.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-videoandbytedance/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 defaultaspect_ratio: "auto", and reference-to-video with video inputs also bills the input clips.computeEstimatenow returnsusd: 0with a warning that namesPOST /v1/models/pricing/estimate, andresolveFalDynamicEstimateasks fal for these ids. The nine ids leavePRICING.fal,MODEL_SLUGS.falandMODEL_DISPLAY.fal, somodelSlug("fal", id)andmodelDisplay("fal", id)no longer accept them: a literal id is a type error and an untyped one throws. The kie ids keep theirsd2,sd2fandsd2p5slugs. Migration: passfal.v1.models.pricing.estimate(withFAL_ADMIN_API_KEY) toresolveFalDynamicEstimate, or read the billed units from thex-fal-billable-unitsresponse header.
@apicity/fal
- The nine non-US Seedance 2.0, 2.0 Fast and 2.5 request schemas follow fal's live Inputs (#397).
seedis no longer declared onbytedance/seedance-2.0/{text,image,reference}-to-video,bytedance/seedance-2.0/fast/{text,image,reference}-to-videoandbytedance/seedance-2.5/{text,image}-to-video, so.schema.parse()strips it there.bytedance/seedance-2.5/reference-to-videokeepsseedas an integer ornull.bytedance/seedance-2.5/image-to-videonarrowsaspect_ratioto"auto", since the output follows the input image. Typed payloads that set either field no longer compile. In the parsed types,end_user_idandend_image_urlmay now benull, and so may the 2.5 image- and reference-to-videoprompt, which may also beundefined. Migration: dropseedfrom those eight payloads, and omitaspect_ratioor 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