evolink-midjourney
v0.1.2
Published
Midjourney V8.1 API and agent skill for EvoLink image generation workflows
Downloads
617
Maintainers
Readme
evolink-midjourney
Midjourney V8.1 API docs, examples, and an installable agent skill for EvoLink image generation workflows.
Agent Install
Use the primary Agent install command:
npx skills add https://github.com/Evolink-AI/midjourney-api/tree/main/skills/midjourney-v8-1If the skills registry CLI is unavailable, use the direct npm fallback:
npx evolink-midjourney@latest -y --path ~/.codex/skills --no-openThe installer copies the midjourney-v8-1 skill and prints:
EVOLINK_KEY_URLAGENT_NEXT_ACTION- persistent
EVOLINK_API_KEYguidance - non-generating key validation guidance
- two low-credit starter prompts
API Key
Create or select an EvoLink API key:
Set it for the current shell:
export EVOLINK_API_KEY="your_key_here"Before the first image generation call, validate the key through a non-generating account or credits endpoint.
Quick API Example
curl --request POST \
--url https://api.evolink.ai/v1/images/generations \
--header "Authorization: Bearer ${EVOLINK_API_KEY}" \
--header 'Content-Type: application/json' \
--header 'X-EvoLink-Source: npm' \
--header 'X-EvoLink-Skill: midjourney-v8-1' \
--header 'X-EvoLink-Package: evolink-midjourney' \
--header 'X-EvoLink-Campaign: midjourney-v8-1' \
--header 'X-EvoLink-Touchpoint: package-readme' \
--data '{
"model": "mj-v8.1",
"prompt": "A small red circle centered on a white background --ar 1:1",
"quality": "standard",
"model_params": {
"speed": "fast"
}
}'Midjourney workflows are asynchronous. Store the task ID, poll GET /v1/tasks/{task_id}, and save final image URLs before they expire.
Included Workflows
mj-v8.1image generationmj-v8.1-variationmj-v8.1-remixmj-v8.1-retexturemj-v8.1-upload-paintmj-v8.1-editmj-v8.1-remove-bg- preserved V7 workflow docs and examples
Local Verification
npx evolink-midjourney@latest --version
npx evolink-midjourney@latest --llmsDry-run an installed skill script without creating an image task:
~/.codex/skills/midjourney-v8-1/scripts/midjourney-v8-1.sh \
--prompt "A small red circle centered on a white background --ar 1:1" \
--dry-run