src/auth/authenticator.ts is swap point 1: what the user submitted on the consent page → an upstream credential plus the identity it belongs to. The M1 implementation proxies Artcraft's own sign-in (POST /v1/login or /v1/accounts/google_sso through the auth-use upstream client), then identifies the user with the new session (GET /v1/session through a read client carrying that credential). Failures map to user-facing reasons (invalid_credentials, account_needs_password, google_rejected, not_signed_in, upstream_unavailable); 5xx and network errors never echo upstream details or the submission. test/helpers/contract.ts validates values against the spec snapshot with Ajv (2020-12 + formats); `fixture(schema, value)` validates a fixture at declaration. All authenticator fixtures pass — including a full SessionInfoSuccessResponse — so the tests exercise shapes the backend actually publishes. Tests (8): password success with the exact request sequence, headers, and body; InvalidCredentials and AccountNeedsPassword mapping; 5xx and network failures → upstream_unavailable without echo; anonymous session → not_signed_in; Google success and rejection with the server message. Also: pnpm workspace saveExact so `pnpm add` pins exactly. Claude-Session: https://claude.ai/code/session_01H3gfN2NCx3hBXSrZXYHUQ3
The IDE for artists.
ArtCraft
ArtCraft is the IDE for interactive AI image and video creation. We turn prompting into crafting, so your ideas become a form of tangible expression and computing. This is Adobe Photoshop for everyone, and we're giving away the source code!
Show, Don't Tell: Advanced Crafting Features
Text-to-image is great, but artists need control. It's important to know what your image will look like before you generate it, and it's vitally important to achieve consistency and repeatability.
Note: all of the above videos were generated for free with Grok Video; the cost to build this README was negligible.
Quick and Easy Prompting
We haven't abandoned text-to-asset generation for quick prototyping and ideation. We support every popular workflow in a first class fashion.
Models and Providers Supported within Artcraft
| Provider | Features |
|---|---|
| Artcraft | Nano Banana, Nano Banana Pro, GPT-Image-1 / 1.5, Seedance 1.0 Lite / 1.5 Pro / 2.0, Seedream 4 / 4.5, Flux 1.1 / Kontext, Veo 2 / 3 / 3.1, Kling 1.6 / 2.1 / 2.5 / 2.6, Sora 2 / Pro, Hunyuan 3d 2 / 3 |
| Grok | Grok Imagine, Grok Video |
| Midjourney | Image Gen (all versions) |
| Sora | Sora 1, Sora 2, GPT-Image-1 |
| WorldLabs | Marble (Gaussian Splat World Generation) |
We're going to be adding the following providers soon: Kling (via Kling website accounts), Google (via API keys), Runway (via website account), Luma (via website account).
We're potentially interested in adding other aggregators for those who already have subscriptions and credits at those providers, for example: OpenArt, FreePik, etc.
Downloads
- Visit our website for the stable Windows and MacOS releases
- Or you can grab a more recent Windows and MacOS build directly
- Linux requires building from source for now

