jsup.GEN - working on image-to-image generation with AI

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-gen-working-on-image-to-image-generation-with-ai Hello, this is @joviansummer(witness: @jswit). I'd like to share what I'm working on regarding my experintal jsup.GEN project, which tries to connect image generation AI with Steemit. Currently, jsup.GEN provide function to generate image from test prompt(txt2img). This function is interesting, but it's not easy to generate exactly what you want because you need to explain the image in detail with multiple keywords in English. Thus, I think it's more useful to have a function to generate image from existing reference image. I'm working on this image-to-image function, and thinking about two methods to implement it. The first method is to provide 2 commands as follows: !gen_t : This command focuses more on text prompt than reference image. The result may be quite different from reference because text prompt will have much more in...

파이썬 beem을 이용한 포스팅 - 댓글

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/3iny73-beem


파이썬 beem을 이용해서 특정 포스트에 댓글을 다는 방법입니다. 이전에 정리한 블로그 포스트 작성법에서 이어지는 내용입니다.

파이썬 beem을 이용한 포스팅 - 블로그 포스트

블로그 포스트와 달리 댓글은 포스트 제목이나 태그를 지정할 필요가 없습니다. 대신에 어느 포스트에 대한 댓글인지 지정해야 하므로 parent author와 parent permlink가 필요하겠죠.

예를 들어, 아래의 포스트에 댓글을 달아야 한다고 가정해 보겠습니다.

https://steemit.com/hive-141029/@joviansummer/steem-nft-nft

이 경우, parent author는 "joviansummer", parent permlink는 "steem-nft-nft"가 될 것입니다. 코드는 아래와 같이 작성할 수 있습니다. 제목은 빈 문자열을 사용하고 태그는 지정하지 않습니다.

from beem import Steem
from beembase.operations import Comment
from beem.transactionbuilder import TransactionBuilder

node_list = ["https://api.steemit.com"]
steem = Steem(node=node_list)

steem_id = 'joviansummer'
posting_key = '5XXXX...'

author = steem_id
permlink = 'my-reply-with-python-beem-test'
title = ''
body = '이것은 시험용 댓글입니다.'
# 댓글 작성 대상: joviansummer/steem-nft-nft
parent_author = 'joviansummer'
parent_permlink = 'steem-nft-nft'

# 포스트 전송
tx = TransactionBuilder(blockchain_instance=steem)
tx.appendOps(Comment(**{"parent_author": parent_author,  "parent_permlink": parent_permlink, "author": author, "permlink": permlink, "title": title, "body":body}))
tx.appendWif(posting_key)
signed_tx = tx.sign()
broadcast_tx = tx.broadcast(trx_id=True)

태그가 필요 없기 때문에 코드에서 json_metadata 관련 내용이 없는 것을 볼 수 있습니다.


@joviansummer의 스팀 프로젝트

스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)

jswit 증인 노드 프로젝트를 시작합니다.

jsup 업보팅(upvoting) 서비스 소개

jsup 수혜자 지정 기능 추가

jSTEEM 프로젝트 - 텔레그램 챗봇으로 구현하는 스팀 블럭체인 탐색기

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기