cd /news/generative-ai/aiartgen-ai-image-video-maker-v9-3-1… · home › topics › generative-ai › article
[ARTICLE · art-175128] src=gist.github.com ↗ pub= topic=generative-ai verified=true sentiment=· neutral

AIArtGen (AI Image & Video Maker v9.3.1) - Scraper & Generative AI Module

A developer released an unofficial Node.js ESM scraper module that reverse-engineers the backend of the Android app AIArtGen (com.droodstudio.aiart v9.3.1), wrapping its Next.js/ComfyUI image and video generation endpoints. The zero-dependency module auto-provisions device IDs, claims free diamonds without login or captcha, submits generation tasks, polls status, and fetches results from Cloudflare R2 and BunnyCDN, exposing models including Flux, SDXL, Krea and ZImage plus a 4K upscaler.

key takeaway

The module wraps AIArtGen's image, video, status and result endpoints in a zero-dependency Node.js ESM client, with free diamond claims costing 1-5 diamonds per model and Flux 2 at 5 diamonds per generation.

by read2 min views11 publishedNov 21, 2026

Scraper module murni Node.js ESM (Zero Dependency, Strict Zero Comment, Zero if Statement) untuk mengakses backend generative AI dari aplikasi Android AIArtGen AI Image Video Maker (com.droodstudio.aiart v9.3.1).

Aplikasi AIArtGen dibangun menggunakan Flutter (Dart AOT Snapshot) dan berkomunikasi dengan Next.js ComfyUI worker cluster di backend https://www.aiartgen.net:

Device Provisioning & Instant Free Diamonds:

  • Device ID:GET https://www.aiartgen.net/api/device menghasilkan UUIDv4 device identifier unik.
  • Klaim Diamond Gratis:POST https://www.aiartgen.net/api/diamonds/claim-free dengan payload{"deviceId": "<uuid>"} langsung memberikan** 5 Diamonds** gratis tanpa perlu login, pendaftaran akun, atau captcha.
  • Modul ini secara otomatis melakukan auto-provisioning device dan klaim diamond setiap kali fungsi dijalankan jika deviceId tidak ditentukan.

Backend & Cluster Architecture:

  • Image Generation:POST https://www.aiartgen.net/api/generate/image

  • Video Generation:POST https://www.aiartgen.net/api/generate/video

  • Status Polling:GET https://www.aiartgen.net/api/generate/image/status/{taskId}?device_id={deviceId}

  • Result Fetching:GET https://www.aiartgen.net/api/generate/image/result/{taskId}?device_id={deviceId}

  • Asset CDN: Cloudflare R2 (https://r2.aiartgen.net ) & BunnyCDN (https://bunny.aiartgen.net )

  • Pure Node.js ESM (.mjs) : Tanpa dependensi pihak ketiga ( npm ), murni menggunakanfetch ,FormData , danBlob bawaan Node.js.

  • Strict Zero Comment : Tidak ada baris komentar sama sekali (// atau/* */ ).

  • Zero if Statements : Murni ekspresi fungsional berbasis operator ternari (? : ), short-circuit (&& ,|| ), dan nullish coalescing (?? ).

  • All-in-One Runner (generate) : Satu fungsi untuk otomatis membuat device, mengklaim saldo diamond, men-submit task, dan melakukan polling hingga gambar selesai dirender.

  • Dukungan Model Lengkap : Mendukung model Flux (Flux 1.S, Flux 2, Flux 2 Fast), SDXL (DreamShape, Realistic, Anime, Disney, dll.), Krea, ZImage, dan 4K Upscaler.

import aiart, {
  generate,
  generateImage,
  upscale4K,
  generateVideo,
  getStatus,
  getResult,
  pollResult,
  getDevice,
  claimDiamonds,
  getConfig,
  upload,
  MODELS,
  STYLES
} from "./aiart.mjs";
js
const result = await generate("white kitten playing with yarn, vibrant colors, studio lighting", {
  modelId: MODELS.GENERAL,
  styleId: STYLES.ANIME,
  width: 1024,
  height: 1024
});

console.log("Status:", result.status);
console.log("Image URLs:", result.image_urls);
// Output berupa array URL Cloudflare R2 beresolusi tinggi (misal: 1024x1024)
js
const upscaled = await upscale4K("https://r2.aiartgen.net/generation/.../sample.jpg");
const finalResult = await pollResult(upscaled.task_id, upscaled.deviceId);
console.log("4K Image URLs:", finalResult.image_urls);
js
// Menggunakan model Flux 1.S
const fluxImage = await generate("futuristic cyberpunk detective in neo tokyo rain", {
  modelId: MODELS.FLUX_1S,
  styleId: STYLES.DIGITAL_ART,
  negativePrompt: "blurry, low quality, distorted"
});

console.log("Flux Output:", fluxImage.image_urls);
  • MODELS.GENERAL :dream_shape_lighting (1 Diamond)

  • MODELS.REALISTIC :juggernaut_lighting (1 Diamond)

  • MODELS.REALISTIC_2 :redcraft_illustrious (1 Diamond)

  • MODELS.ANIME :raemu_lighting (1 Diamond)

  • MODELS.ANIME_2 :wai_Illustrious (2 Diamonds)

  • MODELS.ANIME_2_5D :illustrij_Illustrious (2 Diamonds)

  • MODELS.DISNEY :disney_cartoon_sdxl (1 Diamond)

  • MODELS.FLUX_1S :Fenrisxl_flux_s (3 Diamonds)

  • MODELS.FLUX_2_FAST :flux2_klein_fast (3 Diamonds)

  • MODELS.FLUX_2 :flux2_klein (5 Diamonds)

  • MODELS.KREA_2 :krea2_turbo (5 Diamonds)

  • MODELS.ZIMAGE :redzimage_zimg (5 Diamonds)

  • MODELS.CYBER_REALISTIC :cyberrealistic_flux_d (5 Diamonds)

  • STYLES.GENERAL (general )

  • STYLES.ANIME (anime )

  • STYLES.ENHANCE (enhance )

  • STYLES.FANTASY (fantasy-art )

  • STYLES.LINE_ART (line-art )

  • STYLES.PHOTOGRAPH (photograph )

  • STYLES.COMIC_BOOK (comic-book )

  • STYLES.DIGITAL_ART (digital-art )

Parameter Nilai Uji Nyata
Prompt white kitten playing with yarn, vibrant colors, studio lighting
Model dream_shape_lighting
Task ID task_accaf19c88af4cc9
Durasi Render 14.57 detik
URL CDN Hasil https://r2.aiartgen.net/generation/2026-11-22/08535b7e-6feb-4222-9e76-d26864ff5d78.jpg
── more in #generative-ai 4 stories · sorted by recency
── more on @aiartgen 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/aiartgen-ai-image-vi…] indexed:0 read:2min 2026-11-21 · —