@onepunya/onesytex_api

1.4.7 • Public • Published

###ONESYTEX Api FREE FOR USE###

Example usage of the onesytex Api

npm i @onepunya/onesytex_Api

const Api = require('@onepunya/onesytex_Api'); // Assuming you saved the Api functions in a file called onesytex Api

// Using the betaCharacterAI function
Api.betaCharacterAI("Hello, world!", "123456")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the getCharacter function
Api.getCharacter("miku")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the blackbox function web search mode  ( true or false )
Api.blackbox("example text", true)
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the prodia function
Api.prodia("example prompt")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the image2hd function, 1 or 2 for quality
Api.image2hd(1, "example.com/image.jpg")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the voicevoxSynthesis function, use Api.voicevoxSpeaker() for look id voice
Api.voicevoxSynthesis("Hello, voicevox!", 1)
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the voicevoxSpeaker function
Api.voicevoxSpeaker()
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the pixiv function
Api.pixiv("pixiv query")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the pixivR18 function
Api.pixivR18("pixiv r18 query")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the gemini function
Api.gemini("example text")
  .then(data => console.log(data))
  .catch(err => console.error(err));

// Using the geminiVision function
Api.geminiVision("example text", "example.com/image.jpg")
  .then(data => console.log(data))
  .catch(err => console.error(err));

Kontak Pengembang Api

Jika Anda ingin mengenal lebih jauh tentang pengembang Api ini atau memiliki pertanyaan terkait penggunaan Api, silakan hubungi kami melalui:

Package Sidebar

Install

npm i @onepunya/onesytex_api

Weekly Downloads

25

Version

1.4.7

License

ISC

Unpacked Size

7.35 kB

Total Files

5

Last publish

Collaborators

  • onepunya