{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/omniflow-any-to-any-generation-with-multi","title":"OmniFlow: Any-to-Any Generation with Multi-Modal Rectified Flows","arxiv_id":"2412.01169","date":"2024-12-02","proceeding":"CVPR 2025 1","authors":["Shufan Li","Konstantinos Kallidromitis","Akash Gokul","Zichun Liao","Yusuke Kato","Kazuki Kozuka","Aditya Grover"],"abstract":"We introduce OmniFlow, a novel generative model designed for any-to-any generation tasks such as text-to-image, text-to-audio, and audio-to-image synthesis. OmniFlow advances the rectified flow (RF) framework used in text-to-image models to handle the joint distribution of multiple modalities. It outperforms previous any-to-any models on a wide range of tasks, such as text-to-image and text-to-audio synthesis. Our work offers three key contributions: First, we extend RF to a multi-modal setting and introduce a novel guidance mechanism, enabling users to flexibly control the alignment between different modalities in the generated outputs. Second, we propose a novel architecture that extends the text-to-image MMDiT architecture of Stable Diffusion 3 and enables audio and text generation. The extended modules can be efficiently pretrained individually and merged with the vanilla text-to-image MMDiT for fine-tuning. Lastly, we conduct a comprehensive study on the design choices of rectified flow transformers for large-scale audio and text generation, providing valuable insights into optimizing performance across diverse modalities. The Code will be available at https://github.com/jacklishufan/OmniFlows.","url_abs":"https://arxiv.org/abs/2412.01169v2","url_pdf":"https://arxiv.org/pdf/2412.01169v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"omniflow-any-to-any-generation-with-multi","repo_url":"https://github.com/jacklishufan/omniflows","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"audio-synthesis","task_name":"Audio Synthesis"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2412.01169","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.01169"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jacklishufan/omniflows","reach":{"status":"ok"}}],"summary":{"ran_honours":1,"ran_draft_wrong":1,"unverified":5},"by_repo_kind":{"official":{"samples":7,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":7,"samples":[{"code_sha256_prefix":"20a58a8c04ccda43","entry":"int16_to_float32_torch","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/models/encoders.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/models/encoders.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"20a58a8c04ccda43"}},{"code_sha256_prefix":"0b56680ee1708fee","entry":"retrieve_timesteps","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/pipelines/omniflow_pipeline.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/pipelines/omniflow_pipeline.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b56680ee1708fee"}},{"code_sha256_prefix":"54e08ace0192870c","entry":"cat_and_pad","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/utils/text_encode.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/utils/text_encode.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"54e08ace0192870c"}},{"code_sha256_prefix":"0b80ec09e3ba47ae","entry":"dynamic_range_compression","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/models/audio_vae.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/models/audio_vae.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b80ec09e3ba47ae"}},{"code_sha256_prefix":"047e75bb71a0e270","entry":"encode_prompt_train","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/utils/text_encode.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/utils/text_encode.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"047e75bb71a0e270"}},{"code_sha256_prefix":"93546648c1bb7ee7","entry":"encode_prompt_vae","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/utils/text_encode.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/utils/text_encode.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"93546648c1bb7ee7"}},{"code_sha256_prefix":"852e87ab903330a7","entry":"make_list_of_images","repo":"jacklishufan/omniflows","repo_kind":"official","path":"omniflow/models/encoders.py","file_url":"https://github.com/jacklishufan/omniflows/blob/HEAD/omniflow/models/encoders.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"852e87ab903330a7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}