Body
Generate social media image post with text over gradient background.The text to generate the meme from. Example: “Hello World”
Your desired font. Example: Arial
Response
The post URL.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST \
<BASE_URL>/meme \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"text": "hello word",
"font": "Arial, sans-serif"
}'
<?php
$url = '<BASE_URL>/meme';
$data = array(
"text" => "hello word",
"font" => "Arial, sans-serif"
);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'X-API-Key: YOUR_API_KEY'
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = '<BASE_URL>/meme'
headers = {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
}
data = {
"text": "hello word",
"font": "Arial, sans-serif"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const url = '<BASE_URL>/meme';
const headers = {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
};
const data = {
"text": "hello word",
"font": "Arial, sans-serif"
};
fetch(url, {
method: 'POST',
headers: headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
{
"meme_post": "https://ai.contentify.app/some-image.jpg",
}
curl -X POST \
<BASE_URL>/meme \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"text": "hello word",
"font": "Arial, sans-serif"
}'
<?php
$url = '<BASE_URL>/meme';
$data = array(
"text" => "hello word",
"font" => "Arial, sans-serif"
);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'X-API-Key: YOUR_API_KEY'
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = '<BASE_URL>/meme'
headers = {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
}
data = {
"text": "hello word",
"font": "Arial, sans-serif"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const url = '<BASE_URL>/meme';
const headers = {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
};
const data = {
"text": "hello word",
"font": "Arial, sans-serif"
};
fetch(url, {
method: 'POST',
headers: headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
{
"meme_post": "https://ai.contentify.app/some-image.jpg",
}