# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Seedance 2.5 Video Generator (emaki)
spec:
    description: One-page Seedance 2.5 text-to-video app on the emaki API, zero dependencies
    icon: https://emaki.ai/logo.png
    variables:
        - key: EMAKI_API_KEY
          type: STRING
          name: emaki API key
          description: Create one at https://emaki.ai/settings/apikeys
        - key: ACCESS_PASSWORD
          type: STRING
          name: Access password
          description: Visitors must enter this before generating, so strangers cannot spend your credits
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: Domain for the web page
    tags:
        - AI
        - Tool
    readme: |
        # Seedance 2.5 Video Generator

        A one-page text-to-video and image-to-video web app: type a prompt, optionally paste a first-frame image URL, pick aspect ratio, length and resolution, and get the clip back in a few minutes. One Node file, no npm dependencies.

        Clips come from the API of emaki (emaki.ai), the Japanese-language AI video generator for [Seedance 2.5](https://emaki.ai/seedance-2-5) and [Seedance 2.0](https://emaki.ai/seedance-2). Create an API key at [emaki.ai/settings/apikeys](https://emaki.ai/settings/apikeys) and enter it as `EMAKI_API_KEY`; every clip costs credits on that account, the same price as on the website. Set `ACCESS_PASSWORD` too, so only people you tell can spend them.

        Starting from a picture works the same way as [image to video](https://emaki.ai/image-to-video) on [emaki](https://emaki.ai/?utm_source=zeabur&utm_medium=template). 日本語での使い方は [シーダンス](https://emaki.ai/) へ。 Source: [github.com/hanshs474/emaki-video-starter](https://github.com/hanshs474/emaki-video-starter).
    services:
        - name: emaki-video-starter
          icon: https://emaki.ai/logo.png
          template: PREBUILT_V2
          spec:
            id: emaki-video-starter
            source:
                image: san8888/emaki-video-starter:latest
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            env:
                ACCESS_PASSWORD:
                    default: ${ACCESS_PASSWORD}
                EMAKI_API_KEY:
                    default: ${EMAKI_API_KEY}
                PORT:
                    default: "3000"
          domainKey: PUBLIC_DOMAIN
