DiffAgent: Fast and Accurate Text-to-Image API Selection with Large Language Model
Not on the map. Why?
Abstract (arXiv)
Text-to-image (T2I) generative models have attracted significant attention and found extensive applications within and beyond academic research. For example, the Civitai community, a platform for T2I innovation, currently hosts an impressive array of 74,492 distinct models. However, this diversity presents a formidable challenge in selecting the most appropriate model and parameters, a process that typically requires numerous trials. Drawing inspiration from the tool usage research of large language models (LLMs), we introduce DiffAgent, an LLM agent designed to screen the accurate selection in seconds via API calls. DiffAgent leverages a novel two-stage training framework, SFTA, enabling it to accurately align T2I API responses with user input in accordance with human preferences. To train and evaluate DiffAgent's capabilities, we present DABench, a comprehensive dataset encompassing an extensive range of T2I APIs from the community. Our evaluations reveal that DiffAgent not only excels in identifying the appropriate T2I API but also underscores the effectiveness of the SFTA training framework. Codes are available at https://github.com/OpenGVLab/DiffAgent.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 30 of its 37 references that are in the map. First posted on arXiv 31 Mar 2024.
Builds on
30 of 37 references.
References · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
18 more
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2023Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesiscited by 847
- 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 383
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
- 2023GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructioncited by 245
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 238
- 2023Navigating Text-To-Image Customization: From LyCORIS Fine-Tuning to Model Evaluationcited by 108
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 6.
12 papers.
- 2024Tool Learning with Large Language Models: A Surveycited by 221
- 2025JarvisIR: Elevating Autonomous Driving Perception with Intelligent Image Restorationcited by 32
- 2024ChatGen: Automatic Text-to-Image Generation From FreeStyle Chattingcited by 11
- 2024Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Modelcited by 6
- 2026DiffGraph: An Automated Agent-driven Model Merging Framework for In-the-Wild Text-to-Image Generationcited by 4
- 2026TalkPhoto: A Versatile Training-Free Conversational Assistant for Intelligent Image Editingcited by 3
- 2026OctoT2I: A Self-Evolving Agentic Text-to-Image Routercited by 3
- 2025Can Large Language Models Integrate Spatial Data? Empirical Insights into Reasoning Strengths and Computational Weaknessescited by 1
- 2025Comp-X: On Defining an Interactive Learned Image Compression Paradigm With Expert-driven LLM Agentcited by 0
- 2026StrixAE: An Intelligent Agent for Audio Enhancement under Complex Distortion Coupling in Real-World Scenarioscited by 0
- 2026Planning and Rendering in Concert: DeepFusion of Autoregressive Layouts and Diffusion for Visual Text Generationcited by 0
- 2026EvoGen-Harness: Learning Where and How to Evolve Image-Generation Harnessescited by 0
- 2026EvoGen-Harness: Learning Where and How to Evolve Image-Generation Harnesses30 Sep 2026
- 2026Planning and Rendering in Concert: DeepFusion of Autoregressive Layouts and Diffusion for Visual Text Generation19 Sep 2026
- 2026StrixAE: An Intelligent Agent for Audio Enhancement under Complex Distortion Coupling in Real-World Scenarios3 Sep 2026
- 2026OctoT2I: A Self-Evolving Agentic Text-to-Image Router1 Jun 2026
- 2026DiffGraph: An Automated Agent-driven Model Merging Framework for In-the-Wild Text-to-Image Generation20 Mar 2026
- 2026TalkPhoto: A Versatile Training-Free Conversational Assistant for Intelligent Image Editing5 Jan 2026
- 2025Comp-X: On Defining an Interactive Learned Image Compression Paradigm With Expert-driven LLM Agent21 Aug 2025
- 2025Can Large Language Models Integrate Spatial Data? Empirical Insights into Reasoning Strengths and Computational Weaknesses7 Aug 2025
- 2025JarvisIR: Elevating Autonomous Driving Perception with Intelligent Image Restoration5 Apr 2025
- 2024ChatGen: Automatic Text-to-Image Generation From FreeStyle Chatting26 Nov 2024
- 2024Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model24 Jul 2024
- 2024Tool Learning with Large Language Models: A Survey28 May 2024
Similar, not cited
Close in wording, no citation either way
- 2024EvolveDirector: Approaching Advanced Text-to-Image Generation with Large Vision-Language Models
- 2025Multimodal Language Models as Text-to-Image Model Evaluators
- 2026DynEval: Holistic Evaluations of T2I Generative Models in the Wild
- 2024Text-to-Image Synthesis: A Decade Survey
- 2025UniGenBench++: A Unified Semantic Evaluation Benchmark for Text-to-Image Generation
- 2025TIIF-Bench: How Does Your T2I Model Follow Your Instructions?
- 2025Match & Choose: Model Selection Framework for Fine-tuning Text-to-Image Diffusion Models
- 2025Draw ALL Your Imagine: A Holistic Benchmark and Agent Framework for Complex Instruction-based Image Generation