Giky API MCP

Generate images and video asynchronously from prompts or approved references. Explore models and exact prices for free. OAuth or API key authorizes prepaid generation. https://gikyapi.com/

Hosted MCP Server

npx add-mcp 'https://gikyapi.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Connect Codex, Claude Code, Cursor and other compatible clients to one Giky API MCP server. Use browser-based OAuth to connect your website account, or configure an API key manually.

View Markdown ↗

On this page Remote MCP endpoint Connect with OAuth Codex OAuth configuration Claude Code OAuth configuration Permissions and generation allowance Manage and revoke connections Available tools Manual API key alternative Codex manual API key configuration Claude Code manual API key configuration Copilot configuration VS Code OAuth configuration VS Code editor-managed configuration Verify without charges Errors and uncertain responses Safe generation workflow

Remote MCP endpoint

Use the same Streamable HTTP endpoint for every client. Model discovery is public. Account tools require OAuth authorization or your own API key. Compatible clients discover the OAuth authorization server through the endpoint’s published authorization metadata. Manual API key configuration is also supported.

https://gikyapi.com/mcp

Connect with OAuth

Add the endpoint to your client without an Authorization header, then choose its sign-in or authenticate action. Your browser opens Giky API. Sign in to your website account, review the application name and callback destination, select permissions and a generation allowance, then authorize. You return to your client without copying an API key. Installing a plugin does not create an account or add balance. The website's existing password or Google sign-in identifies you; the separate application consent page grants MCP access. Never enter your website password in a client prompt. The application receives OAuth tokens, not your password or the underlying connection key. Revoke access in Connected applications on the website.

Codex OAuth configuration

Add this entry to `~/.codex/config.toml`, or add the same URL using the Codex MCP settings. Run `codex mcp login giky_api` to open browser authorization. Keep this OAuth configuration free of manual Authorization headers and bearer-token environment settings.

[mcp_servers.giky_api]
url = "https://gikyapi.com/mcp"

Claude Code OAuth configuration

Merge this into `.mcp.json`, then use `claude mcp login gikyApi` or the authentication action in `/mcp` to authorize. Approve the project's MCP configuration when prompted. This is the same endpoint and account system used by Codex; it does not require a separate server.

{
  "mcpServers": {
    "gikyApi": {
      "type": "http",
      "url": "https://gikyapi.com/mcp"
    }
  }
}

Permissions and generation allowance

Each connection has independent permissions, credentials and task history. `tasks:read` reads that connection's tasks. `tasks:write` permits task creation and eligible cancellation; leave it unchecked for read-only access. `offline_access` describes the connection's continued access. Access tokens expire after 15 minutes. With `offline_access`, refresh tokens rotate and the connection expires after 30 days, when you must authorize again. Without that permission, no refresh token is issued and the connection ends after 15 minutes. A token issued for this MCP cannot authorize another resource. For generation access, you set a cumulative allowance between 0.01 and 10,000 USD. This is a spending ceiling for the connection, not a recharge or subscription. Actual generation still needs account balance, an available model, valid parameters and confirmation of the selected configuration and price. Revoking access stops future calls; it does not cancel or refund a task already submitted. Browser logout alone does not revoke an application.

Manage and revoke connections

Open Connected applications while signed in to the website. Each authorization is separate, including two devices using the same client. Revoke access to remove its OAuth grant and dedicated connection key. Disabling or deleting that key in API Keys also blocks task calls and token refresh. The underlying key expires after 30 days, or 15 minutes when continued access was not authorized. Reconnecting creates a new connection and task history; save task IDs and use the original connection until work completes. Protocol-level revocation is available at the advertised revocation endpoint. Revoking a refresh token removes its entire grant; revoking only an access token removes that access token. Remote token revocation is subject to the authorization store's propagation delay. The website's revoke action additionally deletes the underlying key so the task service rejects it independently.

Available tools

Choose the smallest tool that matches the job. `create_task` can spend account balance and requires an explicit confirmation flag plus a stable idempotency key. Public tool metadata declares no authentication; task tools declare their OAuth scope. Existing API key clients can also use the task tools.

ToolAuthorizationPurpose
list_modelsPublicSearch model IDs, operations, minimum published prices and availability
get_modelPublicRead exact parameters and prices for one model
list_taskstasks:read or API keyList tasks owned by this connection's key
get_tasktasks:read or API keyRead task status and output URLs
create_tasktasks:write or API keyCreate a potentially billable task after confirmation
cancel_tasktasks:write or API keyCancel a task before upstream submission when possible

Manual API key alternative

Existing API key clients continue to work. Sign in at `/dashboard/keys/` to create your own key and keep it in the client's private secret or environment configuration. Website login cookies do not authenticate MCP calls. Signing out does not revoke a key; disable or delete it to revoke access. Disabled or expired keys and disabled accounts are rejected. Keys with IP restrictions are currently rejected by the task API. Never paste a key into a prompt or pass it as a tool argument.

Authorization: Bearer YOUR_API_KEY

Codex manual API key configuration

Use this instead of OAuth when you want a manually managed key. Set `GIKY_API_KEY` in the environment of the process that launches Codex. A separately launched desktop app must receive the variable through its own environment or supported secret configuration. Restart or reconnect after changing it.

[mcp_servers.giky_api]
url = "https://gikyapi.com/mcp"
bearer_token_env_var = "GIKY_API_KEY"

Claude Code manual API key configuration

Use a private environment variable and keep only this reference in shared configuration. A configured Authorization header selects API key authentication; remove it before switching to OAuth sign-in.

{
  "mcpServers": {
    "gikyApi": {
      "type": "http",
      "url": "https://gikyapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${GIKY_API_KEY}"
      }
    }
  }
}

Copilot configuration

For a new Copilot harness setup, save this in your personal `~/.copilot/mcp-config.json`. Set `GIKY_API_KEY` in the environment of the host running Copilot before starting it. Never commit a populated key. Copilot and VS Code editor-managed configuration use different formats. Copilot does not forward editor input secrets.

{
  "mcpServers": {
    "gikyApi": {
      "type": "http",
      "url": "https://gikyapi.com/mcp",
      "headers": { "Authorization": "Bearer ${GIKY_API_KEY}" },
      "tools": ["*"]
    }
  }
}

VS Code OAuth configuration

VS Code uses a `servers` object. Add this without headers for OAuth and use its authentication action when required. Do not reuse a Claude Code `mcpServers` file unchanged.

{
  "servers": {
    "gikyApi": {
      "type": "http",
      "url": "https://gikyapi.com/mcp"
    }
  }
}

VS Code editor-managed configuration

For an existing Local harness setup, use.vscode/mcp.json with servers and inputs. This format is different from the Copilot configuration above. Do not mix these formats. Copilot does not forward editor input secrets. After connecting, list tools and call `get_model` with a published model ID. Verify its response before approving a billable `create_task` call.

Official VS Code MCP configuration reference →

{
  "servers": {
    "gikyApi": {
      "type": "http",
      "url": "https://gikyapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:gikyApiKey}"
      }
    }
  },
  "inputs": [
    {
      "id": "gikyApiKey",
      "type": "promptString",
      "description": "Giky API key",
      "password": true
    }
  ]
}

Verify without charges

Call `list_models` to verify public access, then `list_tasks` to verify the authorized connection without generating content or spending balance. An empty task list is a successful authenticated response. If a tool requests another scope, authorize that permission in the client; a read-only connection cannot create paid tasks.

Errors and uncertain responses

For authentication errors, reconnect with OAuth or check your manual key. For insufficient balance or key allowance, check billing and key settings. On a rate limit, wait at least 60 seconds. For a timeout, disconnect or service error during `create_task`, assume submission may have succeeded: reuse the same idempotency key and identical model, operation and input. Never generate a new idempotency key merely to retry. If you know the task ID, poll `get_task` instead.

Safe generation workflow

Call `get_model` immediately before a paid request, verify `generationAvailable`, match the input schema to a published price, and show the selection to the user. Call `create_task` only after explicit approval. Preserve its idempotency key and exact request body when retrying an uncertain response; once a task ID exists, use `get_task` instead of submitting again.