CM

cripacx/mediagen

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

51 stars 0 forks 품질 85 트렌드 27MIT

Claude Code 및 기타 코딩 에이전트에 대한 AI 이미지 및 비디오 생성 기술 - Gemini, OpenAI 및 Kie AI는 하나의 CLI 및 MCP 서버 뒤에, EU AI 행위 내용 표시.

개요

에이전트 이미지 및 비디오 생성을 통해 , 그리고 — 하나의 기술, 하나 설치, 아니 API 학습. 당신이 원하는 것을 말하고 나머지를 결정하십시오 : 그것은 전체에서 프롬프트를 썼다, 21 : 9 규칙 OpenAI 밖으로 알고, 그리고 --json에서 길을 다시 읽으십시오. 그것은 두 번째 패스에 표시, 주제가 종료 한 후 — 그리고로드 베이보다 평평한 지붕에 라벨을 넣어. CLI는 단어에 대해 요청할 수 있습니다. - 공급자, 모델, 종횡비, 크기, 출력 이름 및 디렉토리, 품질 사전 설정, 비디오 내구, 입력 이미지 편집 및 결과 표시 여부. 그(것)들의 이름과 대리인은 주어진대로 그것을 이용합니다; 떠나고 그것을 선택합니다, 또는 당신이 형성한 무슨으로 거슬러 올라갑니다. 즉 전체 설치입니다. — 기술은 npx를 통해 CLI를 실행, 이는 첫 번째 사용과 이후 캐시.

개요(AI 번역)

Google Gemini, OpenAI에서 에이전트 이미지 및 비디오 생성을 제공합니다. andKie AI — 하나의 기술, 하나의 설치, API는 배울 수 없습니다.

당신이 원하는 것을 말하고 나머지를 결정하십시오 :

그것은 전체에서 프롬프트를 썼다, 21 : 9 규칙 OpenAI 밖으로 알고, 그리고 경로를 읽다 다시 --json.

또는 정확하고, 그것은 결정합니다:

그것은 두 번째 패스에 표시, 주제가 종료 한 후 — 그리고 넣어 적재 만보다 평평한 지붕에 라벨.

CLI는 단어에 대해 요청할 수 있습니다. - 공급자, 모델, 측면 비율, 크기, 산출 이름 및 디렉토리, 질 미리 설치, 영상 내구, 입력 이미지 편집 및 결과를 표시하는지 여부. 그들과 그들 모두의 이름 대리인은 주어진대로 그것을 이용합니다; 그것을 밖으로 떠나고 그것을 선택합니다, 또는 당신으로 돌아갑니다 구성.

설치

그것은 전체적인 임명입니다. ****를 설정하려면 다른 것이 없습니다. — 기술이 실행됩니다. npx를 통해, 첫 번째 사용과 후의 캐시에 넣어.

그런 다음 열쇠를 주십시오:

상호 작용하는 마법사: 선택 공급자는, echoed 그것 없이 각 열쇠를 입력하십시오, 라이브 API에 대해 각각 확인, 공급자 당 모델을 선택, 설정 기본값. 1개의 열쇠는 시작하게 충분합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mediagen — an image and video generation skill for coding agents

Give your agent image and video generation across Google Gemini, OpenAI and Kie AI — one skill, one install, no API to learn.

Say roughly what you want and let it decide the rest:

You:   Make a hero image for the landing page, wide, something moody and industrial.

Agent: npx -y mediagen image "A disused loading dock at dusk, wet concrete…"
         --aspect-ratio 21:9 --json
       → ./output/image-20260823T094107Z.png

It wrote the prompt out in full, knew 21:9 rules OpenAI out, and read the path back from --json.

Or be exact, and it stops deciding:

You:   Same thing with gemini-3-pro-image, 21:9, 4K, marked as AI-generated,
       saved as hero.png.

Agent: npx -y mediagen image "A disused loading dock at dusk, wet concrete…"
         --model gemini-3-pro-image --aspect-ratio 21:9 --size 4K
         --output-name hero.png --json
       → ./output/hero.jpg

       [looks at the image]

       npx -y mediagen mark ./output/hero.jpg --visible-label
         --label-position top-right --json
       → ./output/hero.labelled.jpg

It marked in a second pass, after seeing where the subject ended up — and put the label on the flat roofline rather than over the loading bay.

Anything the CLI takes can be asked for in words — provider, model, aspect ratio, size, output name and directory, quality preset, video duration, an input image to edit, and whether to mark the result. Name any of them and the agent uses it as given; leave it out and it chooses, or falls back to what you configured.

Install

npx -y skills add Cripacx/mediagen --skill mediagen

That is the whole installation. Nothing else to set up — the skill runs the CLI through npx, which fetches it on first use and caches it afterwards.

Then give it a key:

npx -y mediagen init

An interactive wizard: pick providers, enter each key without it being echoed, verify each against the live API, choose a model per provider, and set a default. One key is enough to start.

Now just ask your agent for an image.

What your agent can do with it

  • Generate images and video from a description, or edit media you already have
  • Choose the right provider for the task — the skill knows Gemini handles 21:9 and video, that OpenAI cannot do 16:9 at all, and that Kie aggregates around thirty third-party models
  • Take your instructions literally when you give them. Name a model, a ratio, a size or a filename and it is used as stated. mediagen models is there when you want to see what is available before choosing
GitHub에서 전체 README 보기

설치

npx -y mediagen mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mediagen": { "command": "npx", "args": ["-y", "mediagen", "mcp"], "env": { "GEMINI_API_KEY": "your-api-key-here" } } } }