Skip to Content
Mika Scraper 1.1.1 is released πŸŽ‰
πŸƒ MIKA FUNCTIONFunction: MagicStudioArt()

Mika Scraper v1.1.2


Mika Scraper / MagicStudioArt

Function: MagicStudioArt()

MagicStudioArt(prompt): Promise<string>

Defined in: src/magic-studio/magic-studio.ts:22

The MagicStudioArt function interacts with MagicStudio’s AI art generator to create and upload images based on a provided prompt. The result is uploaded to Catbox for easy access.

Parameters

prompt

  • Type: string
  • Description: A descriptive string detailing the image that MagicStudio should generate. The prompt should be clear and specific to enhance the quality of the generated artwork.

Returns

  • Type: Promise<string>
  • Description: A promise that resolves to a URL pointing to the uploaded image located on catbox.moe.

Example

async function generateArt() { const imageUrl = await MagicStudioArt("A futuristic city skyline at sunset"); console.log("Uploaded image available at:", imageUrl); }

Diagram: Mika Scraper

Last updated on