Skip to content
LlamaGenAIPublic

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

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

62 Commits

Folders and files

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

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages