If you're not familiar with input variables and their function, we recommend reviewing them before proceeding. ;-) Input Variable "Image" Type allows you to enhance your prompts by adding images, which can provide context and improve the quality of the generated text based on visual recognition.
What is Input Variable Image Type?
The Input Variable Image Type is a way for you to upload images or link to public images that will be associated with your prompts. This can help the AI model understand the context better and generate more relevant responses.
Supported Image Formats
PNG
JPG
WEBP
Non-animated GIF
Keep in mind that there are size limits for the images you can upload:
OpenAI Models: Up to 20MB
Anthropic Models: Up to 5MB
If you’re linking to an image, ensure that it is a public URL with an SSL certificate (look for URLs that start with “https://”).
📌 Basic Fields: Required Information
When you’re setting up your image input, there are a few basic fields you must complete:
Label: This is how you identify the image field.
Type: This will be set to Image.
Name: This is the ID that links the image to your prompt description.
Default Image: This is a placeholder image that will be visible in the app and can be used for testing.
Important Note on Default Images: The default image you choose will be visible to all users if published in the inspiration library. Be mindful of privacy when selecting this image.
📌 Advanced Fields: Optional Enhancements
You also have the option to fill out some advanced fields:
Help Text: Provide additional guidance for users on how to use the image input.
Display: Choose whether the image input is mandatory or optional.
Content Limit: There is no content limit for images, as they differ from text inputs.
👌🏻 Tips for Using the Variable
To make the most out of your image inputs, consider the following tips:
Organize Your Inputs: If you’re using multiple image inputs, name and order them consistently. This helps the AI model understand what to do with each image.
Avoid Quoting Images in Prompts: Remember that images are attached to the prompt separately and should not be quoted within the text.
Use Public URLs Wisely: If you’re adding an image via a URL, ensure it’s public and secure.
✏️ Example in Action
Ready to see how it works? Experiment with the Input Variable Image Type by uploading an image or using one from our inspiration library. You’ll be amazed at how visual recognition can enhance the effectiveness of your prompts!
For example, you can try the prompt: Transcribe Image Text.
By understanding and utilizing the Input Variable Image Type, you can significantly improve the context and quality of the responses generated by the AI in Promptitude.
Happy prompting!