Skip to main content

5 docs tagged with "images"

View all tags

Image Generation with GPT-4

In this lesson, you'll learn how to use the image_generation tool in OpenAI’s API to generate images and save them to your local machine. Install the OpenAI...

Multimodal Input – Text + Image

In this lesson, you'll learn how to use multimodal inputs (text and image together) with OpenAI’s GPT-4.1 API to analyze visual content. Ensure you have the...

Multimodal Moderation – Text + Images

In this lesson, you'll learn how to use OpenAI’s omni-moderation-latest model to classify both text and images for policy violations in a single moderation r...

Using Local Base64-Encoded Images

In this lesson, you'll learn how to send a local image to the GPT-4.1 API by encoding it to Base64 and passing it as a data URI. Install the OpenAI SDK:

Working with Docker Images

Docker images are the fundamental building blocks of containerized applications. An image is a lightweight, stand-alone, executable package that includes eve...