curl --request POST \
--url https://api.iotools.cloud/v1/tool/twitter-ad-revenue-generator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "12,480.62",
"currency": "USD",
"headline": "You got paid!",
"body": "{amount} from Ads Revenue Sharing was deposited into your account.",
"wallpaper": "abstract",
"style": "light",
"appName": "X",
"timeAgo": "9m ago",
"carrier": "Verizon",
"clock": "9:41",
"lockDate": "Friday, June 13"
}
'{
"tool": "twitter-ad-revenue-generator",
"tool_version": "1.0.1",
"outputs": {
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"390\" height=\"700\" viewBox=\"0 0 390 700\" font-family=\"-apple-system,'SF Pro Text','Helvetica Neue',Helvetica,Arial,sans-serif\"><title>Lock-screen notification: You got paid!</title><defs><linearGradient id=\"xarWall\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0%\" stop-color=\"#6a11cb\"/><stop offset=\"100%\" stop-color=\"#2575fc\"/></linearGradient><linearGradient id=\"xarScrim\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0%\" stop-color=\"#000000\" stop-opacity=\"0.45\"/><stop offset=\"45%\" stop-color=\"#000000\" stop-opacity=\"0\"/></linearGradient></defs><rect width=\"390\" height=\"700\" fill=\"url(#xarWall)\"/><rect width=\"390\" height=\"700\" fill=\"url(#xarScrim)\"/><text x=\"30\" y=\"27\" font-size=\"15\" font-weight=\"600\" fill=\"#ffffff\">Verizon</text><rect x=\"288.8\" y=\"18\" width=\"3.6\" height=\"4\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"294.2\" y=\"15.6\" width=\"3.6\" height=\"6.4\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"299.6\" y=\"13.2\" width=\"3.6\" height=\"8.8\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"305\" y=\"10.8\" width=\"3.6\" height=\"11.2\" rx=\"1.2\" fill=\"#ffffff\"/><g fill=\"none\" stroke=\"#ffffff\" stroke-width=\"1.7\" stroke-linecap=\"round\"><path d=\"M319.5 14a10.5 10.5 0 0 1 15 0\"/><path d=\"M322.8 17.6a6 6 0 0 1 8.4 0\"/></g><circle cx=\"327\" cy=\"21.4\" r=\"1.5\" fill=\"#ffffff\"/><rect x=\"343\" y=\"12\" width=\"25\" height=\"12\" rx=\"3.6\" fill=\"none\" stroke=\"#ffffff\" stroke-opacity=\"0.35\"/><rect x=\"345\" y=\"14\" width=\"17\" height=\"8\" rx=\"2.2\" fill=\"#ffffff\"/><path d=\"M369.6 16.4v3.2a2.4 2.4 0 0 0 0-3.2z\" fill=\"#ffffff\" fill-opacity=\"0.35\"/><path d=\"M189 106v-4a6 6 0 0 1 12 0v4\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.4\" stroke-linecap=\"round\"/><rect x=\"185\" y=\"106\" width=\"20\" height=\"15\" rx=\"4.5\" fill=\"#ffffff\"/><text x=\"195\" y=\"172\" text-anchor=\"middle\" font-size=\"19\" font-weight=\"500\" fill=\"#ffffff\" fill-opacity=\"0.92\">Friday, June 13</text><text x=\"195\" y=\"262\" text-anchor=\"middle\" font-size=\"86\" font-weight=\"500\" fill=\"#ffffff\" letter-spacing=\"-2\">9:41</text><rect x=\"16\" y=\"340\" width=\"358\" height=\"112\" rx=\"20\" fill=\"#ffffff\" fill-opacity=\"0.9\"/><rect x=\"30\" y=\"354\" width=\"22\" height=\"22\" rx=\"6\" fill=\"#000000\"/><g transform=\"translate(34.5 358.5) scale(0.54)\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\" fill=\"#ffffff\"/></g><text x=\"60\" y=\"371\" font-size=\"13\" font-weight=\"600\" fill=\"#6b6b76\">X</text><text x=\"360\" y=\"371\" text-anchor=\"end\" font-size=\"13\" fill=\"#6b6b76\">9m ago</text><text x=\"30\" y=\"398\" font-size=\"15.5\" font-weight=\"700\" fill=\"#0b0b0f\">You got paid!</text><text x=\"30\" y=\"420\" font-size=\"15\" fill=\"#0b0b0f\" xml:space=\"preserve\">$12,480.62 from Ads Revenue Sharing was</text><text x=\"30\" y=\"440\" font-size=\"15\" fill=\"#0b0b0f\" xml:space=\"preserve\">deposited into your account.</text><circle cx=\"72\" cy=\"546\" r=\"26\" fill=\"#ffffff\" fill-opacity=\"0.22\"/><path d=\"M66 537h12l-2.5 7.5h-7z\" fill=\"#ffffff\"/><rect x=\"67.5\" y=\"544.5\" width=\"9\" height=\"10\" rx=\"2.5\" fill=\"#ffffff\"/><circle cx=\"318\" cy=\"546\" r=\"26\" fill=\"#ffffff\" fill-opacity=\"0.22\"/><rect x=\"304\" y=\"538\" width=\"28\" height=\"20\" rx=\"5\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\"/><circle cx=\"318\" cy=\"548\" r=\"5\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\"/><path d=\"M311 538l2-3h10l2 3\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\" stroke-linejoin=\"round\"/><rect x=\"128\" y=\"606\" width=\"134\" height=\"5\" rx=\"2.5\" fill=\"#ffffff\" fill-opacity=\"0.85\"/></svg>"
},
"credits_used": 3,
"credits_remaining": null
}Generators
Twitter Ad Revenue Generator
Generate a fake X (Twitter) ad revenue payout notification on an iPhone lock screen — wallpaper, carrier, clock, amount and message — and download it as SVG.
POST
/
v1
/
tool
/
twitter-ad-revenue-generator
curl --request POST \
--url https://api.iotools.cloud/v1/tool/twitter-ad-revenue-generator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "12,480.62",
"currency": "USD",
"headline": "You got paid!",
"body": "{amount} from Ads Revenue Sharing was deposited into your account.",
"wallpaper": "abstract",
"style": "light",
"appName": "X",
"timeAgo": "9m ago",
"carrier": "Verizon",
"clock": "9:41",
"lockDate": "Friday, June 13"
}
'{
"tool": "twitter-ad-revenue-generator",
"tool_version": "1.0.1",
"outputs": {
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"390\" height=\"700\" viewBox=\"0 0 390 700\" font-family=\"-apple-system,'SF Pro Text','Helvetica Neue',Helvetica,Arial,sans-serif\"><title>Lock-screen notification: You got paid!</title><defs><linearGradient id=\"xarWall\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0%\" stop-color=\"#6a11cb\"/><stop offset=\"100%\" stop-color=\"#2575fc\"/></linearGradient><linearGradient id=\"xarScrim\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0%\" stop-color=\"#000000\" stop-opacity=\"0.45\"/><stop offset=\"45%\" stop-color=\"#000000\" stop-opacity=\"0\"/></linearGradient></defs><rect width=\"390\" height=\"700\" fill=\"url(#xarWall)\"/><rect width=\"390\" height=\"700\" fill=\"url(#xarScrim)\"/><text x=\"30\" y=\"27\" font-size=\"15\" font-weight=\"600\" fill=\"#ffffff\">Verizon</text><rect x=\"288.8\" y=\"18\" width=\"3.6\" height=\"4\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"294.2\" y=\"15.6\" width=\"3.6\" height=\"6.4\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"299.6\" y=\"13.2\" width=\"3.6\" height=\"8.8\" rx=\"1.2\" fill=\"#ffffff\"/><rect x=\"305\" y=\"10.8\" width=\"3.6\" height=\"11.2\" rx=\"1.2\" fill=\"#ffffff\"/><g fill=\"none\" stroke=\"#ffffff\" stroke-width=\"1.7\" stroke-linecap=\"round\"><path d=\"M319.5 14a10.5 10.5 0 0 1 15 0\"/><path d=\"M322.8 17.6a6 6 0 0 1 8.4 0\"/></g><circle cx=\"327\" cy=\"21.4\" r=\"1.5\" fill=\"#ffffff\"/><rect x=\"343\" y=\"12\" width=\"25\" height=\"12\" rx=\"3.6\" fill=\"none\" stroke=\"#ffffff\" stroke-opacity=\"0.35\"/><rect x=\"345\" y=\"14\" width=\"17\" height=\"8\" rx=\"2.2\" fill=\"#ffffff\"/><path d=\"M369.6 16.4v3.2a2.4 2.4 0 0 0 0-3.2z\" fill=\"#ffffff\" fill-opacity=\"0.35\"/><path d=\"M189 106v-4a6 6 0 0 1 12 0v4\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.4\" stroke-linecap=\"round\"/><rect x=\"185\" y=\"106\" width=\"20\" height=\"15\" rx=\"4.5\" fill=\"#ffffff\"/><text x=\"195\" y=\"172\" text-anchor=\"middle\" font-size=\"19\" font-weight=\"500\" fill=\"#ffffff\" fill-opacity=\"0.92\">Friday, June 13</text><text x=\"195\" y=\"262\" text-anchor=\"middle\" font-size=\"86\" font-weight=\"500\" fill=\"#ffffff\" letter-spacing=\"-2\">9:41</text><rect x=\"16\" y=\"340\" width=\"358\" height=\"112\" rx=\"20\" fill=\"#ffffff\" fill-opacity=\"0.9\"/><rect x=\"30\" y=\"354\" width=\"22\" height=\"22\" rx=\"6\" fill=\"#000000\"/><g transform=\"translate(34.5 358.5) scale(0.54)\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\" fill=\"#ffffff\"/></g><text x=\"60\" y=\"371\" font-size=\"13\" font-weight=\"600\" fill=\"#6b6b76\">X</text><text x=\"360\" y=\"371\" text-anchor=\"end\" font-size=\"13\" fill=\"#6b6b76\">9m ago</text><text x=\"30\" y=\"398\" font-size=\"15.5\" font-weight=\"700\" fill=\"#0b0b0f\">You got paid!</text><text x=\"30\" y=\"420\" font-size=\"15\" fill=\"#0b0b0f\" xml:space=\"preserve\">$12,480.62 from Ads Revenue Sharing was</text><text x=\"30\" y=\"440\" font-size=\"15\" fill=\"#0b0b0f\" xml:space=\"preserve\">deposited into your account.</text><circle cx=\"72\" cy=\"546\" r=\"26\" fill=\"#ffffff\" fill-opacity=\"0.22\"/><path d=\"M66 537h12l-2.5 7.5h-7z\" fill=\"#ffffff\"/><rect x=\"67.5\" y=\"544.5\" width=\"9\" height=\"10\" rx=\"2.5\" fill=\"#ffffff\"/><circle cx=\"318\" cy=\"546\" r=\"26\" fill=\"#ffffff\" fill-opacity=\"0.22\"/><rect x=\"304\" y=\"538\" width=\"28\" height=\"20\" rx=\"5\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\"/><circle cx=\"318\" cy=\"548\" r=\"5\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\"/><path d=\"M311 538l2-3h10l2 3\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.2\" stroke-linejoin=\"round\"/><rect x=\"128\" y=\"606\" width=\"134\" height=\"5\" rx=\"2.5\" fill=\"#ffffff\" fill-opacity=\"0.85\"/></svg>"
},
"credits_used": 3,
"credits_remaining": null
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Payout amount
Currency
Available options:
USD, EUR, GBP, JPY, INR, CAD, AUD, BRL, MXN, NGN, ZAR, PHP, TRY, NONE Notification title
Notification message
Wallpaper
Available options:
abstract, aurora, sunset, midnight, ocean, forest, charcoal Custom wallpaper
Notification style
Available options:
light, dark App name
Notification age
Carrier
Clock
Date
Response
Tool output
Show child attributes
Show child attributes
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.
Was this page helpful?
⌘I