Skip to content

Image-core v1.0.3

Choose a tag to compare

@staFF6773 staFF6773 released this 19 Feb 00:46
· 83 commits to main since this release
3e5dfec

In this new version we fixed bugs and also added the following features

  • downloadRandomAnimeImage
  • GetRandomAnimeImageUrl

These functions work like the others only that it shows pictures of anime that are in our database.

import { downloadRandomAnimeImage } from 'imagen-core';

async function testDownloadRandomAnimeImage() {
  try {
    await downloadRandomAnimeImage();
    console.log('Random anime image downloaded successfully');
  } catch (error) {
    console.error('Error downloading random anime image:', error);
  }
}

// Test downloadRandomAnimeImage
testDownloadRandomAnimeImage();