fal 0.3.6

A Rust crate for the fal.ai API, including generated, typed functions for all public models
Documentation
#[cfg(any(
    feature = "endpoints",
    feature = "endpoints_easel-ai",
    feature = "endpoints_easel-ai_advanced-face-swap"
))]
#[cfg_attr(
    docsrs,
    doc(cfg(any(
        feature = "endpoints",
        feature = "endpoints_easel-ai",
        feature = "endpoints_easel-ai_advanced-face-swap"
    )))
)]
pub mod easel_ai;
#[cfg(any(
    feature = "endpoints",
    feature = "endpoints_fal-ai",
    feature = "endpoints_fal-ai_sync-lipsync",
    feature = "endpoints_fal-ai_veo2",
    feature = "endpoints_fal-ai_minimax-music",
    feature = "endpoints_fal-ai_diffrhythm",
    feature = "endpoints_fal-ai_yue",
    feature = "endpoints_fal-ai_flux-pro",
    feature = "endpoints_fal-ai_ideogram",
    feature = "endpoints_fal-ai_hunyuan-video-lora-training",
    feature = "endpoints_fal-ai_flux-lora-fast-training",
    feature = "endpoints_fal-ai_flux-lora-portrait-trainer",
    feature = "endpoints_fal-ai_flux-pro-trainer",
    feature = "endpoints_fal-ai_recraft-v3",
    feature = "endpoints_fal-ai_minimax",
    feature = "endpoints_fal-ai_minimax-image",
    feature = "endpoints_fal-ai_hyper3d",
    feature = "endpoints_fal-ai_aura-flow",
    feature = "endpoints_fal-ai_flux",
    feature = "endpoints_fal-ai_flux-lora",
    feature = "endpoints_fal-ai_flux-subject",
    feature = "endpoints_fal-ai_flux-lora-canny",
    feature = "endpoints_fal-ai_flux-lora-depth",
    feature = "endpoints_fal-ai_sana",
    feature = "endpoints_fal-ai_omnigen-v1",
    feature = "endpoints_fal-ai_lumina-image",
    feature = "endpoints_fal-ai_stable-diffusion-v35-large",
    feature = "endpoints_fal-ai_stable-diffusion-v35-medium",
    feature = "endpoints_fal-ai_switti",
    feature = "endpoints_fal-ai_recraft-20b",
    feature = "endpoints_fal-ai_bria",
    feature = "endpoints_fal-ai_flux-lora-fill",
    feature = "endpoints_fal-ai_flux-control-lora-canny",
    feature = "endpoints_fal-ai_flux-control-lora-depth",
    feature = "endpoints_fal-ai_flux-general",
    feature = "endpoints_fal-ai_flux-pulid",
    feature = "endpoints_fal-ai_iclight-v2",
    feature = "endpoints_fal-ai_flux-differential-diffusion",
    feature = "endpoints_fal-ai_stable-diffusion-v3-medium",
    feature = "endpoints_fal-ai_fast-sdxl",
    feature = "endpoints_fal-ai_lora",
    feature = "endpoints_fal-ai_aura-sr",
    feature = "endpoints_fal-ai_codeformer",
    feature = "endpoints_fal-ai_thera",
    feature = "endpoints_fal-ai_ddcolor",
    feature = "endpoints_fal-ai_swin2sr",
    feature = "endpoints_fal-ai_mix-dehaze-net",
    feature = "endpoints_fal-ai_docres",
    feature = "endpoints_fal-ai_nafnet",
    feature = "endpoints_fal-ai_drct-super-resolution",
    feature = "endpoints_fal-ai_ben",
    feature = "endpoints_fal-ai_flowedit",
    feature = "endpoints_fal-ai_zonos",
    feature = "endpoints_fal-ai_stable-cascade",
    feature = "endpoints_fal-ai_mochi-v1",
    feature = "endpoints_fal-ai_stepfun-video",
    feature = "endpoints_fal-ai_hunyuan-video",
    feature = "endpoints_fal-ai_hunyuan-video-image-to-video",
    feature = "endpoints_fal-ai_hunyuan-video-img2vid-lora",
    feature = "endpoints_fal-ai_hunyuan-video-lora",
    feature = "endpoints_fal-ai_wan",
    feature = "endpoints_fal-ai_wan-t2v",
    feature = "endpoints_fal-ai_wan-i2v",
    feature = "endpoints_fal-ai_wan-i2v-lora",
    feature = "endpoints_fal-ai_wan-trainer",
    feature = "endpoints_fal-ai_wan-pro",
    feature = "endpoints_fal-ai_wan-effects",
    feature = "endpoints_fal-ai_skyreels-i2v",
    feature = "endpoints_fal-ai_vidu",
    feature = "endpoints_fal-ai_video-upscaler",
    feature = "endpoints_fal-ai_auto-caption",
    feature = "endpoints_fal-ai_mmaudio-v2",
    feature = "endpoints_fal-ai_luma-dream-machine",
    feature = "endpoints_fal-ai_luma-photon",
    feature = "endpoints_fal-ai_kling",
    feature = "endpoints_fal-ai_kling-video",
    feature = "endpoints_fal-ai_pixverse",
    feature = "endpoints_fal-ai_transpixar",
    feature = "endpoints_fal-ai_cogvideox-5b",
    feature = "endpoints_fal-ai_cogview4",
    feature = "endpoints_fal-ai_ltx-video",
    feature = "endpoints_fal-ai_ltx-video-v095",
    feature = "endpoints_fal-ai_stable-video",
    feature = "endpoints_fal-ai_fast-svd",
    feature = "endpoints_fal-ai_fast-svd-lcm",
    feature = "endpoints_fal-ai_birefnet",
    feature = "endpoints_fal-ai_got-ocr",
    feature = "endpoints_fal-ai_creative-upscaler",
    feature = "endpoints_fal-ai_ffmpeg-api",
    feature = "endpoints_fal-ai_clarity-upscaler",
    feature = "endpoints_fal-ai_ccsr",
    feature = "endpoints_fal-ai_fast-turbo-diffusion",
    feature = "endpoints_fal-ai_fast-lcm-diffusion",
    feature = "endpoints_fal-ai_whisper",
    feature = "endpoints_fal-ai_wizper",
    feature = "endpoints_fal-ai_fast-lightning-sdxl",
    feature = "endpoints_fal-ai_hyper-sdxl",
    feature = "endpoints_fal-ai_playground-v25",
    feature = "endpoints_fal-ai_amt-interpolation",
    feature = "endpoints_fal-ai_t2v-turbo",
    feature = "endpoints_fal-ai_sd15-depth-controlnet",
    feature = "endpoints_fal-ai_photomaker",
    feature = "endpoints_fal-ai_lcm",
    feature = "endpoints_fal-ai_lcm-sd15-i2i",
    feature = "endpoints_fal-ai_fooocus",
    feature = "endpoints_fal-ai_animatediff-v2v",
    feature = "endpoints_fal-ai_fast-animatediff",
    feature = "endpoints_fal-ai_illusion-diffusion",
    feature = "endpoints_fal-ai_imageutils",
    feature = "endpoints_fal-ai_esrgan",
    feature = "endpoints_fal-ai_fast-sdxl-controlnet-canny",
    feature = "endpoints_fal-ai_inpaint",
    feature = "endpoints_fal-ai_animatediff-sparsectrl-lcm",
    feature = "endpoints_fal-ai_pulid",
    feature = "endpoints_fal-ai_ip-adapter-face-id",
    feature = "endpoints_fal-ai_stable-audio",
    feature = "endpoints_fal-ai_diffusion-edge",
    feature = "endpoints_fal-ai_triposr",
    feature = "endpoints_fal-ai_retoucher",
    feature = "endpoints_fal-ai_any-llm",
    feature = "endpoints_fal-ai_llavav15-13b",
    feature = "endpoints_fal-ai_llava-next",
    feature = "endpoints_fal-ai_fast-fooocus-sdxl",
    feature = "endpoints_fal-ai_face-to-sticker",
    feature = "endpoints_fal-ai_moondream",
    feature = "endpoints_fal-ai_sadtalker",
    feature = "endpoints_fal-ai_musetalk",
    feature = "endpoints_fal-ai_dubbing",
    feature = "endpoints_fal-ai_layer-diffusion",
    feature = "endpoints_fal-ai_stable-diffusion-v15",
    feature = "endpoints_fal-ai_pixart-sigma",
    feature = "endpoints_fal-ai_dreamshaper",
    feature = "endpoints_fal-ai_realistic-vision",
    feature = "endpoints_fal-ai_lightning-models",
    feature = "endpoints_fal-ai_omni-zero",
    feature = "endpoints_fal-ai_leffa",
    feature = "endpoints_fal-ai_cat-vton",
    feature = "endpoints_fal-ai_dwpose",
    feature = "endpoints_fal-ai_florence-2-large",
    feature = "endpoints_fal-ai_era-3d",
    feature = "endpoints_fal-ai_live-portrait",
    feature = "endpoints_fal-ai_kolors",
    feature = "endpoints_fal-ai_sdxl-controlnet-union",
    feature = "endpoints_fal-ai_sam2",
    feature = "endpoints_fal-ai_evf-sam",
    feature = "endpoints_fal-ai_sa2va",
    feature = "endpoints_fal-ai_mini-cpm",
    feature = "endpoints_fal-ai_controlnext",
    feature = "endpoints_fal-ai_workflowutils",
    feature = "endpoints_fal-ai_image-preprocessors",
    feature = "endpoints_fal-ai_f5-tts",
    feature = "endpoints_fal-ai_kokoro",
    feature = "endpoints_fal-ai_trellis",
    feature = "endpoints_fal-ai_hunyuan3d",
    feature = "endpoints_fal-ai_playai",
    feature = "endpoints_fal-ai_latentsync",
    feature = "endpoints_fal-ai_moondream-next",
    feature = "endpoints_fal-ai_recraft-clarity-upscale",
    feature = "endpoints_fal-ai_recraft-creative-upscale",
    feature = "endpoints_fal-ai_elevenlabs",
    feature = "endpoints_fal-ai_janus",
    feature = "endpoints_fal-ai_imagen3",
    feature = "endpoints_fal-ai_gemini-flash-edit",
    feature = "endpoints_fal-ai_post-processing",
    feature = "endpoints_fal-ai_video-prompt-generator",
    feature = "endpoints_fal-ai_eye-correct",
    feature = "endpoints_fal-ai_topaz",
    feature = "endpoints_fal-ai_csm-1b",
    feature = "endpoints_fal-ai_pika",
    feature = "endpoints_fal-ai_invisible-watermark"
))]
#[cfg_attr(
    docsrs,
    doc(cfg(any(
        feature = "endpoints",
        feature = "endpoints_fal-ai",
        feature = "endpoints_fal-ai_sync-lipsync",
        feature = "endpoints_fal-ai_veo2",
        feature = "endpoints_fal-ai_minimax-music",
        feature = "endpoints_fal-ai_diffrhythm",
        feature = "endpoints_fal-ai_yue",
        feature = "endpoints_fal-ai_flux-pro",
        feature = "endpoints_fal-ai_ideogram",
        feature = "endpoints_fal-ai_hunyuan-video-lora-training",
        feature = "endpoints_fal-ai_flux-lora-fast-training",
        feature = "endpoints_fal-ai_flux-lora-portrait-trainer",
        feature = "endpoints_fal-ai_flux-pro-trainer",
        feature = "endpoints_fal-ai_recraft-v3",
        feature = "endpoints_fal-ai_minimax",
        feature = "endpoints_fal-ai_minimax-image",
        feature = "endpoints_fal-ai_hyper3d",
        feature = "endpoints_fal-ai_aura-flow",
        feature = "endpoints_fal-ai_flux",
        feature = "endpoints_fal-ai_flux-lora",
        feature = "endpoints_fal-ai_flux-subject",
        feature = "endpoints_fal-ai_flux-lora-canny",
        feature = "endpoints_fal-ai_flux-lora-depth",
        feature = "endpoints_fal-ai_sana",
        feature = "endpoints_fal-ai_omnigen-v1",
        feature = "endpoints_fal-ai_lumina-image",
        feature = "endpoints_fal-ai_stable-diffusion-v35-large",
        feature = "endpoints_fal-ai_stable-diffusion-v35-medium",
        feature = "endpoints_fal-ai_switti",
        feature = "endpoints_fal-ai_recraft-20b",
        feature = "endpoints_fal-ai_bria",
        feature = "endpoints_fal-ai_flux-lora-fill",
        feature = "endpoints_fal-ai_flux-control-lora-canny",
        feature = "endpoints_fal-ai_flux-control-lora-depth",
        feature = "endpoints_fal-ai_flux-general",
        feature = "endpoints_fal-ai_flux-pulid",
        feature = "endpoints_fal-ai_iclight-v2",
        feature = "endpoints_fal-ai_flux-differential-diffusion",
        feature = "endpoints_fal-ai_stable-diffusion-v3-medium",
        feature = "endpoints_fal-ai_fast-sdxl",
        feature = "endpoints_fal-ai_lora",
        feature = "endpoints_fal-ai_aura-sr",
        feature = "endpoints_fal-ai_codeformer",
        feature = "endpoints_fal-ai_thera",
        feature = "endpoints_fal-ai_ddcolor",
        feature = "endpoints_fal-ai_swin2sr",
        feature = "endpoints_fal-ai_mix-dehaze-net",
        feature = "endpoints_fal-ai_docres",
        feature = "endpoints_fal-ai_nafnet",
        feature = "endpoints_fal-ai_drct-super-resolution",
        feature = "endpoints_fal-ai_ben",
        feature = "endpoints_fal-ai_flowedit",
        feature = "endpoints_fal-ai_zonos",
        feature = "endpoints_fal-ai_stable-cascade",
        feature = "endpoints_fal-ai_mochi-v1",
        feature = "endpoints_fal-ai_stepfun-video",
        feature = "endpoints_fal-ai_hunyuan-video",
        feature = "endpoints_fal-ai_hunyuan-video-image-to-video",
        feature = "endpoints_fal-ai_hunyuan-video-img2vid-lora",
        feature = "endpoints_fal-ai_hunyuan-video-lora",
        feature = "endpoints_fal-ai_wan",
        feature = "endpoints_fal-ai_wan-t2v",
        feature = "endpoints_fal-ai_wan-i2v",
        feature = "endpoints_fal-ai_wan-i2v-lora",
        feature = "endpoints_fal-ai_wan-trainer",
        feature = "endpoints_fal-ai_wan-pro",
        feature = "endpoints_fal-ai_wan-effects",
        feature = "endpoints_fal-ai_skyreels-i2v",
        feature = "endpoints_fal-ai_vidu",
        feature = "endpoints_fal-ai_video-upscaler",
        feature = "endpoints_fal-ai_auto-caption",
        feature = "endpoints_fal-ai_mmaudio-v2",
        feature = "endpoints_fal-ai_luma-dream-machine",
        feature = "endpoints_fal-ai_luma-photon",
        feature = "endpoints_fal-ai_kling",
        feature = "endpoints_fal-ai_kling-video",
        feature = "endpoints_fal-ai_pixverse",
        feature = "endpoints_fal-ai_transpixar",
        feature = "endpoints_fal-ai_cogvideox-5b",
        feature = "endpoints_fal-ai_cogview4",
        feature = "endpoints_fal-ai_ltx-video",
        feature = "endpoints_fal-ai_ltx-video-v095",
        feature = "endpoints_fal-ai_stable-video",
        feature = "endpoints_fal-ai_fast-svd",
        feature = "endpoints_fal-ai_fast-svd-lcm",
        feature = "endpoints_fal-ai_birefnet",
        feature = "endpoints_fal-ai_got-ocr",
        feature = "endpoints_fal-ai_creative-upscaler",
        feature = "endpoints_fal-ai_ffmpeg-api",
        feature = "endpoints_fal-ai_clarity-upscaler",
        feature = "endpoints_fal-ai_ccsr",
        feature = "endpoints_fal-ai_fast-turbo-diffusion",
        feature = "endpoints_fal-ai_fast-lcm-diffusion",
        feature = "endpoints_fal-ai_whisper",
        feature = "endpoints_fal-ai_wizper",
        feature = "endpoints_fal-ai_fast-lightning-sdxl",
        feature = "endpoints_fal-ai_hyper-sdxl",
        feature = "endpoints_fal-ai_playground-v25",
        feature = "endpoints_fal-ai_amt-interpolation",
        feature = "endpoints_fal-ai_t2v-turbo",
        feature = "endpoints_fal-ai_sd15-depth-controlnet",
        feature = "endpoints_fal-ai_photomaker",
        feature = "endpoints_fal-ai_lcm",
        feature = "endpoints_fal-ai_lcm-sd15-i2i",
        feature = "endpoints_fal-ai_fooocus",
        feature = "endpoints_fal-ai_animatediff-v2v",
        feature = "endpoints_fal-ai_fast-animatediff",
        feature = "endpoints_fal-ai_illusion-diffusion",
        feature = "endpoints_fal-ai_imageutils",
        feature = "endpoints_fal-ai_esrgan",
        feature = "endpoints_fal-ai_fast-sdxl-controlnet-canny",
        feature = "endpoints_fal-ai_inpaint",
        feature = "endpoints_fal-ai_animatediff-sparsectrl-lcm",
        feature = "endpoints_fal-ai_pulid",
        feature = "endpoints_fal-ai_ip-adapter-face-id",
        feature = "endpoints_fal-ai_stable-audio",
        feature = "endpoints_fal-ai_diffusion-edge",
        feature = "endpoints_fal-ai_triposr",
        feature = "endpoints_fal-ai_retoucher",
        feature = "endpoints_fal-ai_any-llm",
        feature = "endpoints_fal-ai_llavav15-13b",
        feature = "endpoints_fal-ai_llava-next",
        feature = "endpoints_fal-ai_fast-fooocus-sdxl",
        feature = "endpoints_fal-ai_face-to-sticker",
        feature = "endpoints_fal-ai_moondream",
        feature = "endpoints_fal-ai_sadtalker",
        feature = "endpoints_fal-ai_musetalk",
        feature = "endpoints_fal-ai_dubbing",
        feature = "endpoints_fal-ai_layer-diffusion",
        feature = "endpoints_fal-ai_stable-diffusion-v15",
        feature = "endpoints_fal-ai_pixart-sigma",
        feature = "endpoints_fal-ai_dreamshaper",
        feature = "endpoints_fal-ai_realistic-vision",
        feature = "endpoints_fal-ai_lightning-models",
        feature = "endpoints_fal-ai_omni-zero",
        feature = "endpoints_fal-ai_leffa",
        feature = "endpoints_fal-ai_cat-vton",
        feature = "endpoints_fal-ai_dwpose",
        feature = "endpoints_fal-ai_florence-2-large",
        feature = "endpoints_fal-ai_era-3d",
        feature = "endpoints_fal-ai_live-portrait",
        feature = "endpoints_fal-ai_kolors",
        feature = "endpoints_fal-ai_sdxl-controlnet-union",
        feature = "endpoints_fal-ai_sam2",
        feature = "endpoints_fal-ai_evf-sam",
        feature = "endpoints_fal-ai_sa2va",
        feature = "endpoints_fal-ai_mini-cpm",
        feature = "endpoints_fal-ai_controlnext",
        feature = "endpoints_fal-ai_workflowutils",
        feature = "endpoints_fal-ai_image-preprocessors",
        feature = "endpoints_fal-ai_f5-tts",
        feature = "endpoints_fal-ai_kokoro",
        feature = "endpoints_fal-ai_trellis",
        feature = "endpoints_fal-ai_hunyuan3d",
        feature = "endpoints_fal-ai_playai",
        feature = "endpoints_fal-ai_latentsync",
        feature = "endpoints_fal-ai_moondream-next",
        feature = "endpoints_fal-ai_recraft-clarity-upscale",
        feature = "endpoints_fal-ai_recraft-creative-upscale",
        feature = "endpoints_fal-ai_elevenlabs",
        feature = "endpoints_fal-ai_janus",
        feature = "endpoints_fal-ai_imagen3",
        feature = "endpoints_fal-ai_gemini-flash-edit",
        feature = "endpoints_fal-ai_post-processing",
        feature = "endpoints_fal-ai_video-prompt-generator",
        feature = "endpoints_fal-ai_eye-correct",
        feature = "endpoints_fal-ai_topaz",
        feature = "endpoints_fal-ai_csm-1b",
        feature = "endpoints_fal-ai_pika",
        feature = "endpoints_fal-ai_invisible-watermark"
    )))
)]
pub mod fal_ai;
#[cfg(any(
    feature = "endpoints",
    feature = "endpoints_fashn",
    feature = "endpoints_fashn_tryon"
))]
#[cfg_attr(
    docsrs,
    doc(cfg(any(
        feature = "endpoints",
        feature = "endpoints_fashn",
        feature = "endpoints_fashn_tryon"
    )))
)]
pub mod fashn;
#[cfg(any(
    feature = "endpoints",
    feature = "endpoints_rundiffusion-fal",
    feature = "endpoints_rundiffusion-fal_juggernaut-flux",
    feature = "endpoints_rundiffusion-fal_juggernaut-flux-lora",
    feature = "endpoints_rundiffusion-fal_rundiffusion-photo-flux"
))]
#[cfg_attr(
    docsrs,
    doc(cfg(any(
        feature = "endpoints",
        feature = "endpoints_rundiffusion-fal",
        feature = "endpoints_rundiffusion-fal_juggernaut-flux",
        feature = "endpoints_rundiffusion-fal_juggernaut-flux-lora",
        feature = "endpoints_rundiffusion-fal_rundiffusion-photo-flux"
    )))
)]
pub mod rundiffusion_fal;