jime-international

Dreamina international AI image generation for n8n with local Playwright support

Package Information

Downloads: 1,321 weekly / 1,321 monthly
Latest Version: 1.2.4
Author: webcpy

Documentation

Dreamina International for n8n

Use the current Dreamina international site inside n8n workflows.

This package now focuses on the Dreamina overseas product. The current release is image-first and exposes the international AI Image flow in n8n while AI Video and AI Avatar stay deferred until their international parameters are verified against the live product.

The default execution path is now Local Playwright, which means the node uses a real local Chrome or Edge browser instead of trying to imitate the Dreamina web app with server-side HTTP only.

  • AI Image

What changed

  • Removed the old mixed domestic / overseas structure.
  • Reworked the node into a single Dreamina International node.
  • Reworked credentials into Dreamina Credentials.
  • Switched the runtime to Dreamina international hosts and local browser automation for the image flow.
  • Updated image models, ratios, and resolutions to match the live Dreamina web app.
  • Added Local Playwright (Recommended) and kept Direct HTTP (Legacy) as a fallback.

Authentication

The credential supports two modes and both are optional in Local Playwright mode when you already have a logged-in browser profile:

  1. sessionid
    Quick mode. Paste the sessionid cookie only.
  2. cookieString
    Compatibility mode. Paste the full Dreamina cookie string if sessionid alone is not enough.

In Direct HTTP (Legacy) mode the node always tries sessionid first, then falls back to cookieString when present.

In Local Playwright mode the node tries, in order:

  1. Browser User Data Dir if you provide one
  2. sessionid
  3. cookieString

So you can either:

  • inject cookies into a fresh local browser run, or
  • point the node at a persistent browser profile that is already logged in to Dreamina

How to get cookies

  1. Open Dreamina and sign in.
  2. Open browser developer tools with F12.
  3. Go to Application -> Cookies -> https://dreamina.capcut.com.
  4. Copy either:
    • the sessionid value, or
    • the full cookie string for compatibility mode.

Resource overview

AI Image

  • Generate
    • Execution Mode: Local Playwright (Recommended) / Direct HTTP (Legacy)
    • Mode: Text to Image / Image to Image
    • Text
    • Model: Image 5.0 Lite, Image 4.6, Image 4.5, Image 4.1, Image 4.0
    • Aspect Ratio: Auto, 21:9, 16:9, 3:2, 4:3, 1:1, 3:4, 2:3, 9:16
    • Resolution: High (2K), Ultra (4K)
    • Browser Executable Path optional
    • Browser User Data Dir optional
    • Headless Browser
    • Wait Timeout Seconds
    • Reference Images for Image to Image
  • Get Status

Local Playwright setup

  1. Install this package with dependencies so playwright-core is available.
  2. Make sure the n8n machine has local Chrome or Edge installed.
  3. In the node, keep Execution Mode as Local Playwright (Recommended).
  4. Either:
    • paste sessionid or full cookieString, or
    • set Browser User Data Dir to a local browser profile that is already logged in to Dreamina.
  5. If Chrome or Edge is installed in a non-standard location, fill Browser Executable Path.

Tip:

  • Prefer a dedicated automation profile directory such as C:\DreaminaPlaywrightProfile instead of your daily default Chrome profile, especially if Chrome is already running.
  • If n8n is running in Docker or Linux, Browser User Data Dir must be a path inside that runtime. Do not paste a Windows path like C:\Users\... there.
  • If n8n is running in Docker or Linux without a desktop display, turn Headless Browser on.

Recommended first test:

  • Headless Browser: false on a local desktop, true for Docker or Linux servers without a display
  • Mode: Text to Image
  • Model: Image 4.5
  • Aspect Ratio: Auto
  • Resolution: High (2K)

Notes

  • Local Playwright is the main fix for the current Dreamina anti-bot rejection on pure HTTP requests.
  • Direct HTTP (Legacy) is still included, but Dreamina may reject it with anti-bot checks.
  • The node reads Dreamina web configuration from the current international product shape.
  • AI Image is the active and validated path in this release.
  • AI Video and AI Avatar are intentionally deferred for a later pass and are not part of the visible node surface for now.

Discussion