mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-23 12:55:46 -04:00
2f88f0f7d2
* docs: add Human Input file inputs and Service API to Cloud docs Port the Phase 2 Human Input docs (file inputs and the Service API integration flow) to the Cloud docs, mirroring the self-host pages. - human-input.mdx (en/zh/ja): add the Single File / File List field type and the file-handling notes; the upload-limit callout states Cloud's fixed limits (documents 15 MB, images 10 MB, audio 50 MB, video 100 MB, up to 10 files) instead of self-host env vars. - hitl-api-integration-flow.mdx (en/zh/ja): new; identical to self-host since the Service API is the same. - docs.json: nest the integration-flow under the Human Input group in all three navs. - zh/ja reuse the self-host translations; only the callout and the /self-host/ links changed. * docs: rewrite Cloud model providers around AI Credits * docs: rewrite Cloud subscription management for 1.15.0 * docs: update Cloud code node limits and XLSX image extraction note * docs: rewrite Cloud team members management for 1.15.0 * docs: apply the 1.15.0 Integrations redesign to Cloud docs * docs: fix workflow API reference for run-level logs and streaming * docs: sync self-host use-dify pages and fix translation debt * docs: align shared tutorials and quick start with 1.15.0 * docs: refine difyctl install examples and workspace reference * docs: rewrite hotkeys page to match current shortcuts * fix: correct broken anchor links for badged headings and tabs * fix: correct env link and Human Input resume identifier * feat: handle heading badges in link-checker slugs * fix: repoint publish-mcp cross-links to the merged MCP section * docs: rename plugin dev CLI to Dify Plugin CLI * docs: refine CLI reference readability and expand --agent * feat: stop format checkers flagging indented list-item content * fix: correct zh/ja custom-endpoint spacing and a list blank line * docs: clarify Cloud model provider install and AI Credits coverage
93 lines
3.4 KiB
Plaintext
93 lines
3.4 KiB
Plaintext
---
|
||
title: クイックスタート
|
||
description: コマンドラインから最初の Dify アプリを 5 分以内で実行する
|
||
---
|
||
|
||
> このドキュメントは AI によって自動翻訳されています。不正確な部分がある場合は、[英語版](/en/cli/quick-start) を参照してください。
|
||
|
||
始める前に、`difyctl` が [インストール](/ja/cli/install) されていることを確認してください。
|
||
|
||
## ステップ 1:サインイン
|
||
|
||
1. Dify ホストにサインインします。
|
||
|
||
Dify Cloud の場合は `https://cloud.dify.ai` を、セルフホスト環境では [コンソール API URL](/ja/self-host/deploy/configuration/environments#console_api_url) を使用します。
|
||
|
||
```bash
|
||
difyctl auth login --host https://cloud.dify.ai
|
||
```
|
||
|
||
`difyctl` がワンタイムコードと検証 URL を表示し、待機状態になります。
|
||
|
||
```text
|
||
! Copy this one-time code: WDJP-XKLM
|
||
Open: https://cloud.dify.ai/device
|
||
```
|
||
|
||
2. ブラウザでその URL を開き、コードを入力してサインインします。ターミナルに戻ると、次のように表示されます。
|
||
|
||
```text
|
||
✓ Logged in to cloud.dify.ai as <your-email> (<your-name>)
|
||
Workspace: <your-workspace>
|
||
```
|
||
|
||
## ステップ 2:アプリの確認
|
||
|
||
ワークスペース内のアプリを一覧表示します。
|
||
|
||
```bash
|
||
difyctl get app
|
||
```
|
||
|
||
次のような出力が表示されます。
|
||
|
||
```text
|
||
NAME ID MODE UPDATED
|
||
Customer FAQ 0a1b2c3d-4e5f-6789-abcd-ef0123456789 chat 2026-06-08T03:14:27.521839
|
||
Daily Report 7f3e9a2b-1c4d-4e8f-9a0b-2d5c8e1f4a7b workflow 2026-06-05T22:41:09.812016
|
||
```
|
||
|
||
実行したいアプリの ID をコピーします。以下の例では、この表の 2 つの ID を使用します。
|
||
|
||
## ステップ 3:アプリの実行
|
||
|
||
入力の渡し方はアプリの種類によって異なります。
|
||
|
||
<Tabs>
|
||
<Tab title="チャットボット / チャットフロー / Agent / テキストジェネレーター">
|
||
メッセージを位置引数として渡します。
|
||
|
||
```bash
|
||
difyctl run app 0a1b2c3d-4e5f-6789-abcd-ef0123456789 "What are your business hours?"
|
||
```
|
||
|
||
応答は stdout に出力されます。チャットボット、チャットフロー、Agent アプリの場合は、同じ会話を後で続けられるように、ヒントが stderr にも出力されます。
|
||
|
||
```text
|
||
Our business hours are Monday through Friday, 9am to 6pm PT.
|
||
|
||
hint: continue this conversation with --conversation 4f7d8c2a-9b1e-4c6d-8a3f-5e2b7c9d0a1f
|
||
```
|
||
|
||
</Tab>
|
||
<Tab title="ワークフロー">
|
||
`--inputs` で入力を単一の JSON オブジェクトとして渡します。
|
||
|
||
```bash
|
||
difyctl run app 7f3e9a2b-1c4d-4e8f-9a0b-2d5c8e1f4a7b --inputs '{"topic":"quarterly report","audience":"executives"}'
|
||
```
|
||
|
||
ワークフローの出力は JSON として stdout に出力されます。
|
||
|
||
```json
|
||
{"summary":"Q3 revenue grew 14% YoY...","sections":["revenue","costs","outlook"]}
|
||
```
|
||
</Tab>
|
||
</Tabs>
|
||
|
||
## 次のステップ
|
||
|
||
- **すぐにコピーして使える日常的なコマンド**:[よくあるタスク](/ja/cli/common-tasks)
|
||
- **token の保存場所とセッションの仕組み**:[認証](/ja/cli/authenticate)
|
||
- **`difyctl` でできるその他すべて**:[コマンド一覧](/ja/cli/reference/command-index)
|