fal · Capability

fal Compute API — Instances

fal Compute API — Instances. Provision and manage dedicated GPU instances (H100, H200, A100, B200) with full SSH access for training, fine-tuning, and persistent workloads.

fal Compute API — Instances is a Naftiko capability published by fal, one of 7 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the GET, POST, and DELETE methods rooted at /v1/compute/instances.

The capability includes 2 read-only operations and 2 state-changing operations. Lead operation: List dedicated GPU instances in the calling organization. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Fal, Compute, GPU, and Dedicated.

Run with Naftiko FalComputeGPUDedicated

What You Can Do

GET
Listinstances — List dedicated GPU instances.
/v1/compute/instances
POST
Createinstance — Provision a new instance.
/v1/compute/instances
GET
Getinstance — Get instance.
/v1/compute/instances/{instance_id}
DELETE
Terminateinstance — Terminate instance.
/v1/compute/instances/{instance_id}

MCP Tools

fal-list-instances

List dedicated GPU instances in the calling organization.

read-only idempotent
fal-create-instance

Provision a new dedicated GPU instance.

fal-get-instance

Get a dedicated GPU instance by id.

read-only idempotent
fal-terminate-instance

Terminate a dedicated GPU instance.

idempotent

Capability Spec

compute-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: fal Compute API — Instances
  description: 'fal Compute API — Instances. Provision and manage dedicated GPU instances (H100, H200, A100, B200)
    with full SSH access for training, fine-tuning, and persistent workloads.'
  tags:
  - Fal
  - Compute
  - GPU
  - Dedicated
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FAL_KEY: FAL_KEY
capability:
  consumes:
  - type: http
    namespace: compute-instances
    baseUri: https://rest.alpha.fal.ai
    description: fal Compute — Instances business capability.
    resources:
    - name: instances
      path: /compute/instances
      operations:
      - name: listinstances
        method: GET
        description: List dedicated GPU instances in the calling organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: array
          value: $.
      - name: createinstance
        method: POST
        description: Provision a new dedicated GPU instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: 'Instance spec (gpu_type, region, ssh_key).'
    - name: instance
      path: /compute/instances/{instance_id}
      operations:
      - name: getinstance
        method: GET
        description: Retrieve an instance by id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instance_id
          in: path
          type: string
          required: true
      - name: terminateinstance
        method: DELETE
        description: Terminate a dedicated GPU instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instance_id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: 'Key {{env.FAL_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: compute-instances-rest
    port: 8080
    description: REST adapter for fal Compute — Instances.
    resources:
    - path: /v1/compute/instances
      name: instances
      description: REST surface for instance management.
      operations:
      - method: GET
        name: listinstances
        description: List dedicated GPU instances.
        call: compute-instances.listinstances
        outputParameters:
        - type: array
          mapping: $.
      - method: POST
        name: createinstance
        description: Provision a new instance.
        call: compute-instances.createinstance
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/compute/instances/{instance_id}
      name: instance
      description: REST surface for a single instance.
      operations:
      - method: GET
        name: getinstance
        description: Get instance.
        call: compute-instances.getinstance
        with:
          instance_id: rest.path.instance_id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: terminateinstance
        description: Terminate instance.
        call: compute-instances.terminateinstance
        with:
          instance_id: rest.path.instance_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for fal Compute — Instances.
    tools:
    - name: fal-list-instances
      description: List dedicated GPU instances in the calling organization.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-instances.listinstances
      outputParameters:
      - type: array
        mapping: $.
    - name: fal-create-instance
      description: Provision a new dedicated GPU instance.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: compute-instances.createinstance
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fal-get-instance
      description: Get a dedicated GPU instance by id.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-instances.getinstance
      with:
        instance_id: tools.instance_id
      outputParameters:
      - type: object
        mapping: $.
    - name: fal-terminate-instance
      description: Terminate a dedicated GPU instance.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: compute-instances.terminateinstance
      with:
        instance_id: tools.instance_id
      outputParameters:
      - type: object
        mapping: $.