Caption
Add text on top of an image to create a captioned picture.
Command
/caption urlimage
What it does
The /caption command lets you take any image and add a custom text banner at the top. This is useful for memes, jokes, labels, or quick image annotations.

Example output of the /caption command with text added at the top of the image.
More information
Here's how the /caption feature works:
Behavior:
- You provide text that will appear above the image.
- You can either upload an image file or provide a direct image URL.
- If both are given, the uploaded file takes priority.
- Supported formats:
.png, .jpg, .jpeg, .webp, .gif. - Maximum file size: 10MB.
Image Handling:
- A white banner is automatically added above the image.
- Your text is centered inside this banner.
- The font size adjusts dynamically so the caption always fits the width.
- Large images (over 4000x4000px) are rejected to prevent issues.
- The final result is returned as a PNG file.
Response:
- The bot replies with your captioned image.
- Message includes a small note: "Here is your image vro".
Error Handling:
If something goes wrong, the bot will explain why:
- ❌ Image too large (over 10MB).
- ❌ Dimensions too large (over 4000px).
- ❌ Invalid or unsupported image type.
- ❌ Image failed to load (timeout or bad URL).
- ❌ User didn't provide an image at all.
If an error does occur, please report it so it can be fixed. Thank you (* ^ ω ^)