Generates a Minecraft-style text image using textcraft.net.
The options for the text generation, including up to 3 lines of text.
A promise that resolves to the generated image URL.
import { textcraft } from 'nb-scraper';async function createMinecraftLogo() {const result = await textcraft({text1: 'NB Scraper',text2: 'Library Keren'});if (result.status) {console.log('Generated Image URL:', result.data.imageUrl);}}createMinecraftLogo(); Copy
import { textcraft } from 'nb-scraper';async function createMinecraftLogo() {const result = await textcraft({text1: 'NB Scraper',text2: 'Library Keren'});if (result.status) {console.log('Generated Image URL:', result.data.imageUrl);}}createMinecraftLogo();
WNIYoung
Generates a Minecraft-style text image using textcraft.net.