You're looking at a specific version of this model. Jump to the model overview.

fofr /batch-image-captioning:d0adb15f

Input

*file

ZIP archive containing images to process

string
Shift + Return to add a new line

Optional prefix for image captions

Default: ""

string
Shift + Return to add a new line

Optional suffix for image captions

Default: ""

boolean

Whether to resize images for captioning. This makes captioning cheaper

Default: true

integer

Maximum dimension (width or height) for resized images

Default: 1024

string

AI model to use for captioning. Your OpenAI or Anthropic account will be charged for usage, see their pricing pages for details.

Default: "gpt-4o-2024-08-06"

secret

A secret has its value redacted after being sent to the model.

API key for OpenAI

secret

A secret has its value redacted after being sent to the model.

API key for Anthropic

secret

A secret has its value redacted after being sent to the model.

API key for Google Generative AI

string
Shift + Return to add a new line

System prompt for image analysis

Default: "\nWrite a four sentence caption for this image. In the first sentence describe the style and type (painting, photo, etc) of the image. Describe in the remaining sentences the contents and composition of the image. Only use language that would be used to prompt a text to image model. Do not include usage. Comma separate keywords rather than using \"or\". Precise composition is important. Avoid phrases like \"conveys a sense of\" and \"capturing the\", just use the terms themselves.\n\nGood examples are:\n\n\"Photo of an alien woman with a glowing halo standing on top of a mountain, wearing a white robe and silver mask in the futuristic style with futuristic design, sky background, soft lighting, dynamic pose, a sense of future technology, a science fiction movie scene rendered in the Unreal Engine.\"\n\n\"A scene from the cartoon series Masters of the Universe depicts Man-At-Arms wearing a gray helmet and gray armor with red gloves. He is holding an iron bar above his head while looking down on Orko, a pink blob character. Orko is sitting behind Man-At-Arms facing left on a chair. Both characters are standing near each other, with Orko inside a yellow chestplate over a blue shirt and black pants. The scene is drawn in the style of the Masters of the Universe cartoon series.\"\n\n\"An emoji, digital illustration, playful, whimsical. A cartoon zombie character with green skin and tattered clothes reaches forward with two hands, they have green skin, messy hair, an open mouth and gaping teeth, one eye is half closed.\"\n"

string
Shift + Return to add a new line

Message prompt for image captioning

Default: "Caption this image please"

Output

No output yet! Press "Submit" to start a prediction.