Image Caption Generator

GRATIS CON POSSIBILITร€ DI UPGRADE
Da Fantascat | Aggiornamento hace un dรญa | Artificial Intelligence/Machine Learning
Popolaritร 

9.3 / 10

Latenza

6,996ms

Livello di servizio

98%

Health Check

100%

Follower: 13
Risorse:
Sito web del prodotto
Creatore dell'API:
Rapid account: Fantascat
Fantascat
fantascatllc
Accedi per valutare l'API
Valutazione: 4.3 - Voti: 3

README

Python example:

import requests

url = "https://image-caption-generator2.p.rapidapi.com/v2/captions"
params = {
    "imageUrl": "https://i.pinimg.com/564x/26/c7/35/26c7355fe46f62d84579857c6f8c4ea5.jpg",
    "useEmojis": "true",
    "useHashtags": "true",
    "limit": 3,
}
headers = {
    "X-RapidAPI-Key": "YOUR-API-KEY",
    "X-RapidAPI-Host": "image-caption-generator2.p.rapidapi.com",
}

response = requests.get(url, headers=headers, params=params)
print(response.json())

Output (beautified):

{"captions": [
    "Just another lazy day on the couch, catching up on some much-needed rest ๐Ÿ˜ด๐Ÿฑ #lazyday #yawning",
    "This kitty knows how to relax in style ๐Ÿ˜Ž๐Ÿ›‹๏ธ #catlife #couchpotato #yawn",
    "When you realize it's only Monday and you're already exhausted ๐Ÿ˜ฉ๐Ÿพ #mondayblues #catnap #yawningcat"
]}