Giky API / Docs
DEVELOPER DOCUMENTATION

Giky API Client Libraries

Use the public OpenAPI contract to generate a typed client, or start with the maintained JavaScript and Python request examples. The task API uses ordinary HTTPS and JSON, so a package is optional.

On this pageCurrent package statusGenerate a TypeScript clientGenerate a Python clientProduction checklistCompatibility boundaries

Current package status

Giky API does not currently publish an official npm or PyPI package. Third-party packages are not official unless they are linked from this documentation. The examples below generate local client code from the public contract instead of asking you to trust an unverified package name.

Generate a TypeScript client

Import the generated client on your server, set the base URL to `https://gikyapi.com`, and provide the API key through the generated authentication configuration. Keep the key out of browser code.

npx @openapitools/openapi-generator-cli generate \
  -i https://gikyapi.com/openapi.json \
  -g typescript-fetch \
  -o ./generated/giky-api

Generate a Python client

Install the generated package from its output directory and configure the Bearer token before creating a task.

npx @openapitools/openapi-generator-cli generate \
  -i https://gikyapi.com/openapi.json \
  -g python \
  -o ./generated/giky-api-python

Production checklist

Apply the same request identity, authentication and recovery rules whether you use generated code or a direct HTTP client.

RequirementWhat to implement
AuthenticationSend the API key only from a trusted server environment.
Duplicate protectionAdd a unique `Idempotency-Key` to every task creation attempt.
Task completionPoll the task endpoint or validate signed webhook deliveries.
Error handlingRetry only documented transient errors and preserve the original request ID.
Cost controlRead the selected configuration price before submitting work.

Compatibility boundaries

The public contract is not a drop-in OpenAI Images endpoint. Generation inputs currently use JSON and reachable media URLs rather than multipart file uploads. Use the documented task schema instead of changing only an OpenAI SDK base URL.