Image captioning

Image captioning is the task of generating a natural-language description of an image. It combines visual understanding with language generation to produce a sentence that summarizes what a picture shows.

What is image captioning?

Image captioning produces a written description of an image, such as "a dog catching a frisbee on a beach." It requires both recognizing what is in the scene and expressing it in fluent, relevant language, which is why it sits at the intersection of visual understanding and text generation.
Modern captioning is handled by vision-language models that process the image and generate the sentence end to end.

Key takeaways

  • Image captioning generates a language description of an image.
  • It combines visual understanding with text generation.
  • It is powered by vision-language models.

How it works

A vision-language model encodes the image into a representation the language component can condition on, then generates a caption word by word. These models are typically pretrained on large collections of image-text pairs, which teaches them to associate visual content with language. The same backbone often supports related tasks like visual question answering.

Why it matters

Captioning makes visual content searchable, accessible, and describable at scale, from alt text for accessibility to indexing large media libraries. It also serves as a building block for multimodal understanding, and captions can enrich datasets with text that powers semantic search over images.

Frequently asked questions

How is image captioning different from classification?

Classification assigns a label from a fixed set, while captioning generates free-form natural language describing the whole scene.

What models perform image captioning?

Vision-language models, which combine a visual encoder with a language generator trained on large image-text datasets.

Related terms

black and white photo of Jesse Mostipak
Jesse Mostipak
SEO & Content
Jesse Mostipak is the SEO and Content Manager at Voxel51, where the work is helping humans find and trust what the brand knows, and teaching the Google knowledge graph and the LLMs answering on their behalf to do the same. That question, how knowledge gets built inside a system, is one Jesse has been chasing for years. Earlier versions of it ran through a New York City high school science classroom, data science and machine learning, and developer relations at Kaggle, Posit (formerly RStudio), and Baseten. The answer doesn't change much depending on whether the learner is a teenager, a software engineer, or a knowledge graph. Jesse holds a Master's in Education from CUNY Hunter College. LinkedIn
See all articles by Jesse Mostipak
Last updated July 9, 2026

Building visual or physical AI?

Let's talk.