Skip to content

A new medium SDK for building webtoons. Powed by AI. Accelerate Anime,Comic,Game to Benefit Humanity. We are making generative ACG Al more accessible. join our Community!

Notifications You must be signed in to change notification settings

LlamaGenAI/webtoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Good Example for create the comics, manga and manhwa with the webtoon SDK

Here's a good example of how to use the Webtoon SDK to create and retrieve comic artworks:

import {
    createComic,
    getComic,
    config
} from 'webtoon';

config({
    apiKey: "YOUR_API_KEY"
});

// Example parameters for creating comic artwork
const createArtworkParams = {
    prompt: "running",
    imageUrl: "https://example.com/image.png",
    gender: "male",
    age: 30,
};

// Create comic artwork
createComic(createArtworkParams).then(response => {
    console.log("Artwork created:", response);
}).catch(error => {
    console.error("Error creating artwork:", error);
});

// Example artwork ID for retrieval
const artworkId = "YOUR_ARTWORK_ID";

// Retrieve comic artwork
getComic(artworkId).then(response => {
    console.log("Artwork retrieved:", response);
}).catch(error => {
    console.error("Error retrieving artwork:", error);
});

About

A new medium SDK for building webtoons. Powed by AI. Accelerate Anime,Comic,Game to Benefit Humanity. We are making generative ACG Al more accessible. join our Community!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages