Skill: blammectrappora/art-deco-generator (version 1.0.0)

--- name: art-deco-generator description: Art deco generator that creates 1920s-inspired Gatsby-style art deco posters, prints, wedding invitations, luxury branding, and Pinterest-worthy art deco illustrations with geometric patterns, gold and black palettes, sunburst motifs, chevron designs, and ornate vintage glamour aesthetics. Perfect for art deco wallpaper, art deco wall art, art deco logo design, art deco poster generator, roaring twenties art, vintage luxury design, geometric pattern generator, and 1920s aesthetic AI art creation via the Neta AI image generation API (free trial at neta.art/open). tools: Bash --- # Art Deco Generator Art deco generator that creates 1920s-inspired Gatsby-style art deco posters, prints, wedding invitations, luxury branding, and Pinterest-worthy art deco illustrations with geometric patterns, gold and black palettes, sunburst motifs, chevron designs, and ornate vintage glamour aesthetics. Perfect for art deco wallpaper, art deco wall art, art deco logo design, art deco poster generator, roaring twenties art, vintage luxury design, geometric pattern generator, and 1920s aesthetic AI art creation. ## Token Requires a Neta API token (free trial at <https://www.neta.art/open/>). Pass it via the `--token` flag. ```bash node <script> "your prompt" --token YOUR_TOKEN ``` ## When to use Use when someone asks to generate or create art deco design generator images. ## Quick start ```bash node artdecogenerator.js "your description here" --token YOUR_TOKEN ``` ## Options - `--size` — `portrait`, `landscape`, `square`, `tall` (default: `portrait`) - `--ref` — reference image UUID for style inheritance ## Install ```bash npx skills add blammectrappora/art-deco-generator ```

path: README.md
content: # Art Deco Generator

Generate stunning 1920s-inspired art deco illustrations from text descriptions — Gatsby-style posters, wedding invitations, luxury branding, geometric patterns, sunburst motifs, chevron designs, and ornate vintage glamour aesthetics with gold and black palettes.

Powered by the Neta AI image generation API (api.talesofai.com) — the same service as neta.art/open.

## Install

```bash
npx skills add blammectrappora/art-deco-generator
```

Or via ClawHub:

```bash
clawhub install art-deco-generator
```

## Usage

```bash
node artdecogenerator.js "your description here" --token YOUR_TOKEN
```

### Examples

```bash
# Default art deco prompt
node artdecogenerator.js "" --token YOUR_TOKEN

# Custom prompt
node artdecogenerator.js "art deco wedding invitation, gold sunburst, black background" --token YOUR_TOKEN

# Landscape poster
node artdecogenerator.js "1920s Gatsby skyline poster" --size landscape --token YOUR_TOKEN

# Style inheritance from a reference image
node artdecogenerator.js "art deco peacock motif" --ref <picture_uuid> --token YOUR_TOKEN
```

## Options

| Flag | Description | Default |
| --- | --- | --- |
| `--token` | Neta API token (required) | — |
| `--size` | `portrait`, `landscape`, `square`, `tall` | `portrait` |
| `--ref` | Reference image UUID for style inheritance | — |

### Sizes

| Name | Dimensions |
| --- | --- |
| `square` | 1024 × 1024 |
| `portrait` | 832 × 1216 |
| `landscape` | 1216 × 832 |
| `tall` | 704 × 1408 |

## Token setup

This skill requires a Neta API token (free trial available at <https://www.neta.art/open/>).

Pass it via the `--token` flag:

```bash
node <script> "your prompt" --token YOUR_TOKEN
```

## Output

Returns a direct image URL.



path: artdecogenerator.js
content: #!/usr/bin/env node
import { argv, exit, stdout } from 'node:process';

const SIZES = {
  square: { width: 1024, height: 1024 },
  portrait: { width: 832, height: 1216 },
  landscape: { width: 1216, height: 832 },
  tall: { width: 704, height: 1408 },
};

const DEFAULT_PROMPT = 'art deco style illustration, geometric patterns, symmetrical sunburst motifs, gold and black color palette, ornate metallic details, 1920s Gatsby aesthetic, luxurious art deco design, stepped fan shapes, chevron and zigzag patterns, elegant typography ornamentation, high contrast, opulent vintage glamour';

function parseArgs(args) {
  let prompt = null;
  let size = 'portrait';
  let tokenFlag = null;
  let ref = null;

  for (let i = 0; i < args.length; i++) {
    const a = args[i];
    if (a === '--size') {
      size = args[++i];
    } else if (a === '--token') {
      tokenFlag = args[++i];
    } else if (a === '--ref') {
      ref = args[++i];
    } else if (!a.startsWith('--') && prompt === null) {
      prompt = a;
    }
  }

  return { prompt, size, tokenFlag, ref };
}

async function main() {
  const { prompt, size, tokenFlag, ref } = parseArgs(argv.slice(2));

  const [REDACTED_SECRET];

  if (!TOKEN) {
    console.error('\n✗ Token required. Pass via: --token YOUR_TOKEN');
    console.error('  Get yours at: https://www.neta.art/open/');
    process.exit(1);
  }

  const PROMPT = prompt || DEFAULT_PROMPT;
  const dims = SIZES[size] || SIZES.portrait;

  const headers = {
    'x-token': TOKEN,
    'x-platform': 'nieta-app/web',
    'content-type': 'application/json',
  };

  const body = {
    storyId: 'DO_NOT_USE',
    jobType: 'universal',
    rawPrompt: [{ type: 'freetext', value: PROMPT, weight: 1 }],
    width: dims.width,
    height: dims.height,
    meta: { entrance: 'PICTURE,VERSE' },
    context_model_series: '8_image_edit',
  };

  if (ref) {
    body.inherit_params = { collection_uuid: ref, picture_uuid: ref };
  }

  console.error(`→ Submitting prompt (${dims.width}×${dims.height})...`);

  const submitRes = await fetch('https://api.talesofai.com/v3/make_image', {
    method: 'POST',
    headers,
    body: JSON.stringify(body),
  });

  if (!submitRes.ok) {
    const text = await submitRes.text();
    console.error(`✗ Submit failed: ${submitRes.status} ${text}`);
    process.exit(1);
  }

  const submitText = await submitRes.text();
  let taskUuid;
  try {
    const parsed = JSON.parse(submitText);
    taskUuid = typeof parsed === 'string' ? parsed : parsed.task_uuid;
  } catch {
    taskUuid = submitText.replace(/^"|"$/g, '').trim();
  }

  if (!taskUuid) {
    console.error(`✗ No task_uuid in response: ${submitText}`);
    process.exit(1);
  }

  console.error(`→ Task ${taskUuid}, polling...`);

  for (let attempt = 0; attempt < 90; attempt++) {
    await new Promise((r) => setTimeout(r, 2000));

    const pollRes = await fetch(`https://api.talesofai.com/v1/artifact/task/${taskUuid}`, {
      method: 'GET',
      headers,
    });

    if (!pollRes.ok) {
      continue;
    }

    const data = await pollRes.json();
    const status = data.task_status;

    if (status === 'PENDING' || status === 'MODERATION') {
      continue;
    }

    const url = data.artifacts?.[0]?.url || data.result_image_url;
    if (url) {
      stdout.write(url + '\n');
      process.exit(0);
    }

    console.error(`✗ Task finished (${status}) but no image URL: ${JSON.stringify(data)}`);
    process.exit(1);
  }

  console.error('✗ Timed out after 90 attempts (180s).');
  process.exit(1);
}

main().catch((err) => {
  console.error(`✗ Error: ${err.message}`);
  process.exit(1);
});


path: package.json
content: name: art-deco-generator
version: 1.0.0
type: module
description: Art Deco Generator — AI-powered art deco design generator ai
license: MIT

Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)